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
Describe the various parameters utilized in the creation of a gdg?
Explain the purpose of dd dummy statement?
Which dd parameters are required?
What is the function of the dd dcb keyword?
define cond parameter in jcl?
what is the use of IEBGENER utility?
What is the function of the steplib dd statement?
Where can program checkpoints be stored for use in a restart?
In job processing, what happens in execution stage?
Explain how can the attributes of one sms dataset be copied to another dataset?
Is automatic restart possible in jcl?
What are the parameter we cannot use in procedure?
can any one plzzzzzz tell the jcl code for creating ps using idcams
What do you understand by jcl?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?