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
How dummy is used in jcl?
What is the purpose of disp parameter?
How does jcl specify the job to the operating system?
Can an individual step be restricted from using all the jobs allowed cpu time?
Explain how can the submitting users racf authority be overridden in a job stream?
What are the 4 fields in dd statement?
A dd statement consists of 4 fields. Name them?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
What is the purpose of dd * statement in jcl?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
Why block size is multiple of lrecl in jcl?
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?
Can we call instream to catalog and catalog to instream?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?