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
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
Is it possible to code instream data in a PROC?
Explain how can the attributes of one sms dataset be copied to another dataset?
Name the statement which can be used to send data to another mvs jes3 node?
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) ?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
What is the purpose of the dd keylen parameter?
How do you access an uncatalogued dataset in a jcl?
What dd statement is used to supply the name of a dataset?
Explain the purpose of dd dummy statement?
i want to store 20 digits . how will u do it in cobol ?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
What is NOTCAT ?
which parameter is use to declare the name of dataset in dd statement?
What is the purpose of disp parameter?