i have 10,000 records in one input file.i want to sort 1 to
5000 records in one outputfile and remaining records sort in
another output file write the syntax for this?
Answer Posted / prakash
sort fields=copy
outfil files=1,endrec=5000
outfil files=2,start rec=5001,endrec=10000
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
Mention the types of job control statements?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
How to pass the parameter in parm using linkage section ? (syntax)?
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?
What is catelog procedure and how many catelog procedure to use in one job?
how you can access an uncataloged dataset in a JCL?
What is the purpose of dd?
Explain how can the submitting users racf authority be overridden in a job stream?
Is it possible to define dd statements as you want?
In job processing, what happens in execution stage?
Is their any limit for data sets?
Explain how can values be passed from the job stream to an executable program?
How do you overcome this limitation ?
How do you access an uncatalogued dataset in a jcl?
What is the difference between run mode and addressing mode?