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 / pranay

OUTREC FIELDS=(4,2,C'/',1,2,C'/',7,4)

The above Sort card is working perfectly fine for me.
Please recheck.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

668


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

1799


Is condition checking possible in jcl?

716


what is JCL?

693


Explain how can return codes be tested before execution of a job step?

819






What statement can be used to send data to another mvs jes3 node?

823


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1347


how to run batch program without jcl?

10070


Is it possible to code instream data in a PROC?

748


how you will the direct the data to spool using sysout option?

1761


Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:

3528


I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?

696


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

652


Describe the various parameters utilized in the creation of a gdg?

680


how would you create a temporary dataset? And where will you use them?

767