Page 1 of 1

JCL current date

Posted: Wed Apr 18, 2012 10:18 am
by jvinoth
hi can anyone please tell me how to get the current date using jcl and append into the file.please tell me soon thanks..

Posted: Wed Apr 18, 2012 12:21 pm
by NicC
You cannot. JCL is not a programming language. You need a program to do what you want. The sort programs can do that - look in the sort part of the forum for any examples.

Posted: Wed Apr 18, 2012 9:32 pm
by Frank Yaeger
jvinoth,

You need to do a better job of explaining what exactly you want to do. Show an example of your input file and what you expect for output. Explain the rules for getting from input to output. ("Append into file" is too vague a description.)

Posted: Mon May 21, 2012 1:20 pm
by alijamal
I have to FTP a file to server.
File name should be appended with current date.
Coupld you please let me know how we can do that in JCl.
mainframe application modernization

Posted: Mon May 21, 2012 5:38 pm
by NicC
No - you have not started a new topic. Also, search in the ftp part of the forum. Oh, and try to read forum rules - generally you do not re-open old topics, tailgate someone elses topic, post in the wrong section and you look to see if your question has already been asked and answered by someone else at another time.