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 is SOC4 error?

726


what are the types of abends that occur on job failure? And explain the possible causes of these

1107


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

622


Mention the types of job control statements?

678


Explain the purpose of dd dummy statement?

658






How jcl work to handle various input output file operations?

646


Which statement is used to identify the private libraries in job?

667


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

659


What is job control language?

601


how to run batch program without jcl?

10040


What are some jcl statements that are not allowed in procedures?

714


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

598


What are the 2 types of parameters in dd statement?

635


What is the function of job statement in jcl?

625


How to submit a jcl from cics?

651