Suppose i have a file with 10 recs and i want to skip only the
7 th record and copy the rest into another file. How do i do
it using SORT?
Answer Posted / nishant singhal
SORT FIELDS=COPY
SKIPREC=06
STOPAFT=1
| Is This Answer Correct ? | 8 Yes | 13 No |
Post New Answer View All Answers
how you will the direct the data to spool using sysout option?
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 is the function of the dd avgrec keyword in sms datasets?
What are hierarchy levels in jcl?
How can an in-stream dataset be terminated?
What is multithreading in jcl?
what is the purpose of coding class parameter in job statement?
What is timing concept in mainframe?
what is the resolution for sb37 error
Differentiate between the joblib and the steplib statements?
Can I share my data with other jobs? How?
Explain the purpose of dd dummy statement?
Explain how can values be passed from the job stream to an executable program?
which parameter is use to declare the name of dataset in dd statement?
What is condition checking in jcl? Is this possible?