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?
Answers were Sorted based on User's Feedback
Answer / harsha
Above is the date and column numbers.
//STEP1 EXEC PGM=SORT
|Is This Answer Correct ?||14 Yes||1 No|
Answer / mfgan
When DD-MM-YYYY is the first field of input record,
Then use the below code,
//SYSIN DD *
Change the position numbers occordingly.
|Is This Answer Correct ?||2 Yes||0 No|
Answer / pranay
The above Sort card is working perfectly fine for me.
|Is This Answer Correct ?||0 Yes||0 No|
Explain about CBL/PROCESS statement syntax
In JCL..for TIME Parameter was specified both JOB & STEP..which one is overrides
common jcl abends??
how to run JCL thru COBOL.
What are the keywords associated with DCB? How can you specify DCB information? What is the OS precedence for obtaining that DCB information, ie. where does the system look for it first?
what is the difference between static call and dynamic call?
I have 2 steps in my exec statement , in first step I am creating a gdg, and the output of this step is going into second step as a input, and this second step is abended , now how could i approach in this case.
Suppose I have a file with three fields with data in the following format 1. empid - S9(4) COMP 2. empname - X(20) 3. empsal - S9(5)V(2) COMP-3 If I view this file, it will not be in a readable format. How to display the empid and empsal fields in a readable format without using COBOL program? What kind of SORT card will have to be coded?
We have two PS files,want to compare those files and put the duplicate records in one file. Input file 1 contains(1,2,4,9,10) Input file 2 contains (1,4,5,11,12,14,16). Help me with jcl.
what r the types of job control statements?
What is the difference between primary and secondary allocations for a dataset?
What is the purpose of dd * statement in jcl?