can anyone explain me about sort in jcl with inrec and
outrec ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / challa srinivas
In short,INREC i used before SORT and OUTREC is used after SORT.
| Is This Answer Correct ? | 2 Yes | 0 No |
Is automatic restart possible in jcl? If yes, how?
When output dataset space is required, what quantity categories are used?
How do you submit JCL via a Cobol program?
how would you create a temporary dataset? And where will you use them?
What is the function of a dd statement?
is it possible to submitt more than one job in job card in jcl? and if yes than is it necessary to have the jobs same name?
If a jcl has just 1 step and the input file to this does not exist, then what will happen if we submit this job?
what is the purpose of coding notify parameter in job statement?
How system will identify whether user wants to create PS or PDS? If answer is SPACE parameter then why we need to pass ps or po as dataset organisation while creation
Hi, Please clear me when COND=ONLY and COND=EVEN. Explain me with example.
what is pupose and meaning of the REGION keyword and what jcl statement is it associated with?
List the different jcl statements that are not permitted in the procedures?