Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

what is the difference between JES3 and JES2?

1196


What are steplib and joblib? What for they are used?

1303


List the various advantages of using jcl language?

1520


how you can access an uncataloged dataset in a JCL?

1191


Explain the function of //jcllib statement?

1277


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

1522


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

1386


What is the purpose of the dd keylen parameter?

1282


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

1566


how can the same proc be re-used and called by many jobs?

1561


Explain dd statement in jcl?

1185


What is the motivation behind coding class parameter in job statement?

1233


How does jcl act on a cobol code?

1237


What is the use of symbol // in jcl?

1537


how to do automated restart when a job abends?

1424