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

In job processing, what happens in execution stage?

698


What does a disposition of (new,catlg,keep) for a dsn mean?

615


Can I share my data with other jobs? How?

670


What is the function of //jcllib statement?

806


what is DSN parameter and DISP parameter is used for?

674






What is the motivation behind coding class parameter in job statement?

686


What is the use of disp parameter?

653


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

658


what are the various stages of job processing?

738


Explain about LMQUERY�give a dialog information about a data set

904


Matching Logic in Jcl not in cobol.Could any one please answer this question

3669


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

817


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

1482


Explain the jcl exec statement?

647


Explain the function of //jcllib statement?

702