I have DATE filed like DD-MM-YYYY, So I want output should be
MM/DD/YYYY using JCL?
Can anybody post the answer for above requirement?
Answer Posted / harsha
12345678910
DD-MM-YYYY
Above is the date and column numbers.
//STEP1 EXEC PGM=SORT
// .
// .
// .
OPTION COPY
OUTFILE FNAMES=SORTOUT
OUTREC=(4,2,C'/',1,2,C'/',7,4)
| Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
What does a disposition of (MOD,DELETE,DELETE) mean ?
Is acct parameter mandatory?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
how JCL works?
What is the use of symbol // in jcl?
What is the format of comment statement?
List the different components of jcl statement?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
What are steplib and joblib?
Is automatic restart possible in jcl? If yes, how?
which utility is used to sort a file in jcl?
In sms datasets, what is the function of the dd mgmtclas keyword?
Explain the function of dd name parameter with a 2 part structure; audit.report?
How to alter the parameters for the existing gdg?