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 do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
can any one plzzzzzz tell the jcl code for creating ps using idcams
define cond parameter in jcl?
How can a jobs execution priority be modified?
What are steplib and joblib? What for they are used?
what are the various stages of job processing?
what is JCL?
What is Cataloged Procedures?
Define concatenating?
Name the statement which can be used to send data to another mvs jes3 node?
how to run batch program without jcl?
What is the function of the steplib dd statement?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
Explain how can values be passed from the job stream to an executable program?