i have 1000 records in input file and i want to sort it and
the first 200 records to be placed in output file. how to
do that??
Answer Posted / msm
//SYSIN DD *
DEBUG ABEND
SORT FIELDS=(8,11,CH,A)
SORT FIELDS=COPY,STOPAFT=200
END
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
For what purpose steplib and joblib are used ?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
How can the submitting users racf authority be overridden in a job stream?
what is use of dcb parameter in dd statement?
when does a dataset go uncataloged?
Explain the function of dd disp parameter?
what are JCLLIB and STEPLIB in JCL?
Differentiate between addressing mode and run mode.
Can we call instream to catalog and catalog to instream?
Differentiate between the joblib and the steplib statements?
a dd statement has 2 types of parameters. Name them?
What is the function of a dd statement?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
What are the utility programs in jcl?