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

I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1358


how JCL works?

802


What is notcat 2 - gs?

941


Explain the function of //jcllib statement?

709


Explain how can an in-stream dataset be terminated?

704






When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

751


which utility is used to run a cobol-db2 program?

810


What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?

2001


How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you

610


What is the syntax of JCL statement?

700


How can values be passed from the job stream to an executable program?

879


Must tape dataset definitions include vol=ser specifications?

987


what is the resolution for sb37 error

7721


Explain the hierarchy levels in jcl?

1121


What is the purpose of disp parameter?

647