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


Please Help Members By Posting Answers For Below Questions

What are steplib and joblib?

720


Explain in DD statement what is the use of DCB parameter?

652


how to compare two datasets without using superce because output is limited to 133 bytes

1476


How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you

603


Does jcl support automatic restart?

759






How dummy is used in jcl?

643


Suppose I have five jobs to do. But I want to hold one?

654


Explain about LMFREE�free data set from its association with data ID

997


Explain how can the disposition of sysout datasets be set for an entire jobstream?

634


Explain how can a jobs execution priority be modified?

735


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

771


Where can program checkpoints be stored for use in a restart?

842


what is the resolution for sb37 error

7698


what sort card you will use to copy the data from one dataset to another dataset?

722


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

1961