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 / raghuvanshi
When I am using
//SYSIN DD *
SORT FIELDS=COPY
OUTREC FIELDS=(4,2,C'/',1,2,C'/',7,4)
/*
//
I am getting the same output as input!
Can someone please through some light on it.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
which parameter is use to declare the name of dataset in dd statement?
What is the difference between the positional and keyword parameters? Give examples.
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 ?
How do you overcome this limitation ?
What is the purpose of dd dummy statement?
Name what parameter directs the output of the job log dataset?
What does a disposition of (new,catlg,keep) for a dsn mean?
What is multithreading in jcl?
How to pass data to a program that is coded in an exec statement?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
What is the significance of addrspc parameter in the exec statement?
How does jcl act on a cobol code?
What do you understand by the term notcat 2 – gs?