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 are some jcl statements that are not allowed in procedures?
define cond parameter in jcl?
Explain dd statement in jcl?
Explain how can values be passed from the job stream to an executable program?
Is condition checking possible in jcl? If yes, how?
Is acct parameter mandatory?
what is the resolution for sb37 error
What is the function of //cntl statement?
What is the function of dd name parameter with a 2 part structure; audit.report?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
When output dataset space is required, what quantity categories are used?
Why include statement is used in a jcl?
How does jcl act on a cobol code?
what is the JCL statement consists of?
What is the syntax of JCL statement?