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 |
There are a set of 10 files and a customer will be selecting random no of files(i.e they may be more than 2, may not be in the order).Sometimes he might just select one file or sometimes no files at all.How do you code a JCL for this? Is it possible to code just JCL alone for this problem?
In order to continue a job after a return code of 12 in step1, what the step2 exec statement include?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
What is Cataloged Procedures?
what do you mean By spooling? Expand SPOOL?
mainframe questions like basic&depth
Suppose there r total 10 steps. Out of which i want to execute only the 7th step. How can i do that....????
what is use of dcb parameter in dd statement?
why jobstep can't be more than 255 and for GDG has max limit 255 . Is there any relation between the two
What is a S0C4 error ?
List some valid operation codes in JCL
what is XSUM in some fields= none, xsum ??