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 |
A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?
How to alter the parameters for the existing gdg?
Explain about SYSVAR
Can we use two or more SYSPUNCH DD statements in a JCL for multiple unload (SYSREC00 & SYSREC01)..?
what is the use of temporary files?
What are the parameter in the job card wihtout which job won't run........
i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step?
01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250
How to execute only th 15th step of JCL consisting of 50 steps?
what is DSN in JCL and what are the parameters to declare the DSN?
Can I share my data with other jobs? How?
what's the significance of freespace(0 0) and freespace(100 100)