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 / muttaiah
@Albert:
IF we are using Outfil, we won't use Skiprec & stopaft.
My Answer:
Step1:
sort fields=copy
outfil files=01,endrec=5000
outfil files=02,startrec=5001,endrec=10000
Step2:
Sort fields=(pos,leng,cha,a or d)
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
How can return codes be tested before execution of a job step?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
When space is allocated for an output dataset, what units can be used?
what is use of disp parameter in dd statement?
How can a stopped job be started again?
Explain the function of dd disp parameter?
Explain the purpose of the dd keylen parameter?
What are the 2 types of parameters in dd statement?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
Explain the job statement in jcl?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
Is automatic restart possible in jcl?
What dd statement is used to supply the name of a dataset?
Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period: