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
In job processing, what happens in execution stage?
when can a job time-out occur? How to overcome that?
When output dataset space is required, what quantity categories are used?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
what are the statements that are not valid to be included in an include statement?
what is the JCL statement consists of?
which parameter is use to declare the name of dataset in dd statement?
Explain the purpose of dd dummy statement?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
How can a fb file convert to vb file using sort program?
what happens in execution stage in job processing?
what is DSN in JCL and what are the parameters to declare the DSN?
Explain how can return codes be tested before execution of a job step?
Name the statement which can be used to send data to another mvs jes3 node?
How would you understand error(execution phase)?