How I sort the records in a file and copy the first 10
records to another file
Answer Posted / balasukumar
//SORTIN DD DSN=INF1
//SORTOT DD DSN=OTF
//SYSIN DD *
SORT FIELDS = COPY
SKIP=0
STOPAFT=10
/*
Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
what is the difference between JES3 and JES2?
Must tape dataset definitions include vol=ser specifications?
what is the resolution for sb37 error
What is the syntax of JCL statement?
Is it possible to define dd statements as you want?
How to pass the parameter in parm using linkage section ? (syntax)?
what is DD statement is used in JCL?
A dd statement consists of 4 fields. Name them?
how you can direct the data to spool using SYSOUT option?
What is one line to pass PARM from JCL to COBOL?
how do you code a null statement?
which utility is used a dummy utility?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
Explain the purpose of dd dummy statement?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?