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
How can a stopped job be started again?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
How does the jcl specify the job to os?
How to do automated restart when a job abend?
What is the function of the steplib dd statement?
What is the maximum length of a single line of jcl?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
What are the utility programs in jcl?
What are some jcl statements that are not allowed in procedures?
which utility is used to run a cobol-db2 program?
What is the format of comment statement?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
List the different components of jcl statement?
what is a jcl?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?