My requirement is transmit a file to destination via connect direct and append date.
Here is the description
I am sending a file from mainframes to windows( say sever1)
consider destination path to be E:\Test
DSN=E:\TEST\test1.txt is not valid (tested) hence gave DSN='E:\TEST\test1.txt' ---- working fine with single quotes
but the issue is i need to send and concatenate it with current date expected output is test1_150219
if &DSN=E:\TEST\test1_
In process DSN= &DSN || &DATE || .txt will resolve to
DSN=E:TEST\test1_20150219 but due to absense of single quote . path is not recogined and if i gave single quote
file transmit as test1_&date -- symbolic parameter is not resolved in single quote .
How does the underscore get into your name? There is no underscore in the code in your last post. Maybe it is masked by the fact that you have not used the code tags to present your code.
Why not study your code and try and work out what is happening? Try tweaking it and running it until you understand how each bit works?
My guess is that you need to remove one of the dots in one of the places where your double dots are.