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 |
What is the difference between primary and secondary allocations for a dataset?
What is the difference b/w the CLASS,TIME,PRTY in jcl job card.
Hi, all Suppose i have 10 step in a job (s1,s2,s3,...s10) i want to execute step9 first and then step3 and i used the DPRTY for these steps. so what will happen to other steps? Will the get executed or only these two steps get executed?
a input file contains 1000 records, how to move the first 500 record into one out put file and how to move to second 500 records to anothere output file
How to pass the parameter in parm using linkage section ? (syntax)?
What is the meaning of the EXEC statement keyword, COND? What is its syntax?
how GDGs are concatinated?
the command to open a dataset directly from the JCL instead of opening it separately using 3.4 option.
List some valid operation codes in JCL
what is the meaning of keyword in jcl?what is is opposite?
diff bw SB37,SD37,SE37 ?( bcz these 3 belongs Space related abends only)
What is one line to pass PARM from JCL to COBOL?