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 1000 records in input file and i want to sort it and
the first 200 records to be placed in output file. how to
do that??

Answer Posted / msm

//SYSIN DD *
DEBUG ABEND
SORT FIELDS=(8,11,CH,A)
SORT FIELDS=COPY,STOPAFT=200
END

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

a dd statement has 2 types of parameters. Name them?

1104


what is use of space parameter in dd statement?

1230


What are the rules employed while naming the steps in a job?

1107


Name a few IBM utility programs, and explain its function.

4918


how to run batch program without jcl?

11376


Explain how can the submitting users racf authority be overridden in a job stream?

1091


How to do automated restart when a job abend?

1309


What is the function of job statement in jcl?

1056


Explain how can an in-stream dataset be terminated?

1269


Can an individual step be restricted from using all the jobs allowed cpu time?

1517


what are the types of abends that occur on job failure? And explain the possible causes of these

1573


What is the function of //jcllib statement?

1281


how JCL works?

1218


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?

1262


What are the 2 types of parameters in dd statement?

1114