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
What is the purpose of the dd keylen parameter?
What is NOTCAT ?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
what is the compile process of cobol program expalin with code
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
what are the types of abends that occur on job failure? And explain the possible causes of these
Explain the purpose of the dd keylen parameter?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
Is it possible to define dd statements as you want?
When output dataset space is required, what quantity categories are used?
What is condition checking in jcl? Is this possible?
Is it possible to code instream data in a PROC?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
In sms datasets, what is the function of the dd avgrec keyword?
What is the format of comment statement?