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 / mfgan
When DD-MM-YYYY is the first field of input record,
Then use the below code,
//SYSIN DD *
SORT FIELDS=COPY
OUTREC FIELDS=(1:1,2,
3:C'/',
4:4,2,
6:C'/',
7:7,4)
/*
//
When others,
Change the position numbers occordingly.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How does the jcl specify the job to os?
What is job control language?
Explain the purpose of dd * statement in jcl?
what are JCLLIB and STEPLIB in JCL?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
How to pass data to a program that is coded in an exec statement?
List the various advantages of using jcl language?
can any one plzzzzzz tell the jcl code for creating ps using idcams
Differentiate between the joblib and the steplib statements?
Is it possible to define dd statements as you want?
Matching Logic in Jcl not in cobol.Could any one please answer this question
How jcl work to handle various input output file operations?
What is the maximum length of a single line of jcl?
Explain how can the submitting users racf authority be overridden in a job stream?
What do you understand by jcl?