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

12345678910
DD-MM-YYYY
Above is the date and column numbers.

//STEP1 EXEC PGM=SORT
// .
// .
// .
OPTION COPY
OUTFILE FNAMES=SORTOUT
OUTREC=(4,2,C'/',1,2,C'/',7,4)

Is This Answer Correct ?    14 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

780


What are the jcl procedures?

645


Can an individual step be restricted from using all the jobs allowed cpu time?

1005


What is the function of job statement in jcl?

636


What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?

1995






What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?

9214


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


Are there any set of rules for the names of the steps used in a job?

635


Where & How Do You Code Identifier In Jcl?

697


How to alter the parameters for the existing gdg?

710


Explain the jcl exec statement?

646


What is the format of comment statement?

664


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

1969


how do you code a null statement?

778


State the uses of syspring, sysin, sort fields, sum fields and dummy.

647