Answer Posted / kalpana
Using the sort card we can split the file.
//SYSIN DD *
SORT FIELDS=COPY,SKIPREC=56910,STOPAFT=25
/*
SKIPREC means how many records we need to skip and STOPAFT
means how many records we need to put in the
file.
Is This Answer Correct ? | 5 Yes | 10 No |
Post New Answer View All Answers
what is use of disp parameter in dd statement?
how you can access an uncataloged dataset in a JCL?
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
What are steplib and joblib? What for they are used?
Is there any command to check wether the ps file is in sorted order?
how can you check if a file is empty using jcl?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
Brief description of inline procedure of jcl.
What are the jcl procedures?
Which dd parameters are required?
Mention the types of job control statements?
what is use of dcb parameter in dd statement?
How does jcl act on code(if you take a cobol program)?
which utility is used to sort a file in jcl?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?