can anyone explain me about sort in jcl with inrec and
outrec ?
Answer Posted / madhu s reddy
.
.
//SYSIN DD *
INREC FIELDS=(5,10,15,2,23,4)
SORT FIELDS=(11,3,ZD,A)
OUTREC FIELDS=(1,10)
/*
.
.
INREC option is used to select the part(s) of record from
input file for sorting(ie, vertical split of records).
OUTREC option is used to select the part(s) of record from
sort file and is copied into output file.
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
Is their any set of rules for dd? Explain.
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
Matching Logic in Jcl not in cobol.Could any one please answer this question
what JCL Procedures?
Explain about ISPF/TSO Commands
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
how do you code a null statement?
Explain the job statement in jcl?
What is the format of comment statement?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
How can a jobs execution priority be modified?
How to do automated restart when a job abend?
when can a job time-out occur? How to overcome that?
What is one line to pass PARM from JCL to COBOL?