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
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
What is the function of dd name parameter with a 2 part structure; audit.report?
how would you create a temporary dataset? And where will you use them?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
which utility is used a dummy utility?
Can I share my data with other jobs? How?
Are there any set of rules for the names of the steps used in a job? What are they?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
What is notcat 2 - gs?
What is the motivation behind coding class parameter in job statement?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
What is the purpose of the dd keylen parameter?
What is the function of the dd avgrec keyword in sms datasets?