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 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
can i sort packed decimal if i can tell the syntax
What is difference between Return Code, user completion code, Abend code and reason Code?
Are there any set of rules for the names of the steps used in a job?
How many parameters are there to a DISP statement and what are their uses ?
I've one sequential file, that file size is LREC=100 (File contain Records like 1 to 100). Now I was increase the file size is LREC=102. My question is I want insert 00 (Two Zeros) in to the new file (That output file looks like : 00123 up to 100). How will write the SORT card in JCL. Please let me know.
When concatenating two PDS can any one PDS can have empty dataset i.e without any value(Dummy).
which utility is used to sort a file in jcl?
Name the system library from which modules are retrieved at execution
how will be submit 1 jcl by other jcl? means that how 'll submit one job by other job??
Explain the hierarchy levels in jcl?
Is condition checking possible in jcl? If yes, how?