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

What is the function of dd name parameter with a 2 part structure; audit.report?

1173


what operation is performed by job statement?

1063


List the different jcl statements that are not permitted in the procedures?

1027


Define concatenating?

1056


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

1253


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

1163


Explain how can the disposition of sysout datasets be set for an entire jobstream?

1035


Explain about LMQUERY�give a dialog information about a data set

1383


When output dataset space is required, what quantity categories are used?

1301


what is JCL?

1105


can any one plzzzzzz tell the jcl code for creating ps using idcams

11538


How to submit a jcl from cics?

1091


Explain how can a stopped job be started again?

1083


A dd statement consists of 4 fields. Name them?

1376


What is the significance of addrspc parameter in the exec statement?

1017