TheTechGuide Forum

General Category => Software => Topic started by: Guest_chris_* on October 04, 2005, 01:26:29 PM

Title: dynamic var issue
Post by: Guest_chris_* on October 04, 2005, 01:26:29 PM
hello all -

I have a bat filr that is used as input for an ftp process. a file is put out every day and I need to get just that days file. I use a simple pl/sq to get the date and put it in the proper format in a var called currdt1

this line is giving me the problem:

echo get bill%currdt1%.TXT >> daliyftp.inp

the result i am getting is:

Code: [Select]
bill20051004                                                                            .txtso no file is found.

this was working fine against a sql server db, but now vs oracle, i get all these extra chars...

any suggestions? can i do something like &trim(currdt1)%
Title: dynamic var issue
Post by: Guest on October 10, 2005, 12:24:05 PM
I found the answer on this site in one of the tutorials. in case someone else encounteres this, you can use bill%currdt1:~0,8%.TXT

which gives me my variable starting at pos 0 for 8 chars...
Title: dynamic var issue
Post by: Guest on October 14, 2005, 11:49:07 AM
Its a way to get a free ipod all you do is sighn up and participate in an offer (which is free eg-free dvd rentals)
Then refer 5 more people to sighn up and participate in an offer
thats were im stuck iv been tryning to get 5 people but i just cant seem to please help me out.
sad.gif

http://ipods.freepay.com/?r=23096230 (http://\"http://ipods.freepay.com/?r=23096230\")


Hey Guys i realy realy need help iv been serching for referarls for ages please if theres any nice People out there HELP ME!!!!!!!!!!!!!!!!!!!!!!!!!!!! (there probaly isnt huh.gif )