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
Does jcl support automatic restart?
Is their any limit for data sets?
What dd statement is used to supply the name of a dataset?
Explain the hierarchy levels in jcl?
Is condition checking possible in jcl? If yes, how?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
What are steplib and joblib? What for they are used?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
which parameter is use to declare the name of dataset in dd statement?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
What does a disposition of (new,catlg,keep) for a dsn mean?
What do you understand by the term notcat 2 – gs?
Explain the purpose of dd dummy statement?
What are steplib and joblib?
Can we call instream to catalog and catalog to instream?