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


Please Help Members By Posting Answers For Below Questions

How can a stopped job be started again?

1164


what is “Cond= even” and “Cond=only”?

1271


what is a jcl?

1113


What is concatenating?

1051


what is use of disp parameter in dd statement?

1066


Explain about LMFREE�free data set from its association with data ID

1580


What is notcat 2 - gs?

1440


what are the statements that are not valid to be included in an include statement?

1353


Explain the hierarchy levels in jcl?

1650


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

1037


What is the purpose of disp parameter?

1092


What do you know about jcl?

1109


what happens in conversion stage in job processing?

1196


Can we call instream to catalog and catalog to instream?

1113


What parameter directs the output of the job log dataset?

1229