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

SORT FIELDS=COPY
OUTFIL FILES=1,STOPAFT=5000
OUTFIL FILES=2,SKIPREC=5000

Is This Answer Correct ?    28 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are hierarchy levels in jcl?

1516


Does jcl support automatic restart?

1222


In job processing, what happens in execution stage?

1190


what happens in execution stage in job processing?

1134


What happens if both JOBLIB & STEPLIB is specified ?

1134


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

1496


Name the statement which can be used to send data to another mvs jes3 node?

1171


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

1352


What do you understand by the terms: joblib and steplib?

1159


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

1208


Is their any limit for data sets?

1179


what is DSN in JCL and what are the parameters to declare the DSN?

1184


Explain the function of the dd dcb keyword?

1244


write a jcl to execute a job by 7:00 am on jan 20,1986?

1103


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

1615