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
Explain how can return codes be tested before execution of a job step?
Is it possible to left uncode disp?
a dd statement has 2 types of parameters. Name them?
How do you create a temporary dataset?
Explain the function of //cntl statement?
What are the 4 fields in dd statement?
how do you access an uncataloged dataset in a jcl?
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
Is acct parameter mandatory?
define cond parameter in jcl?
What is catelog procedure and how many catelog procedure to use in one job?
What statement can be used to send data to another mvs jes3 node?
What are s0c1, s0c4, s0c5, s0c7 and socb?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
whats the diff bw the evaluate also and and?