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 / v khurana

One more bethod is there, i.e. by using SPLIT1R

OUTFIL FNAMES=(FILE1,FILE2), SPLIT1R=5000

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where & How Do You Code Identifier In Jcl?

695


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

923


what is the resolution for sb37 error

7704


Is condition checking possible in jcl?

716


What is the use of symbol // in jcl?

918






Explain in DD statement what is the use of DCB parameter?

652


How can the submitting users racf authority be overridden in a job stream?

746


which parameter is use to declare the name of dataset in dd statement?

730


What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?

813


What is the function of the dd avgrec keyword in sms datasets?

835


I need exexution process for JCL programs

1847


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

816


Are there any set of rules for the names of the steps used in a job? What are they?

612


How would you understand error(execution phase)?

621


Can we use DISP=SHR in output file in JCL

951