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

//SYSIN DD *
SORT FIELDS=COPY,
OUTREC FILEDS=(1,2,CH,A) --> WHATEVER U WANNT TO SORT
STOPAFT=100
//

hope this does..

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How gdg are concatenated?

1169


Can we call instream to catalog and catalog to instream?

1189


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

1462


How to submit a jcl from cics?

1208


what is use of disp parameter in dd statement?

1154


what is the purpose of coding class parameter in job statement?

1314


Explain the function of the steplib dd statement?

1182


What are the jcl procedures?

1172


Must tape dataset definitions include vol=ser specifications?

1786


Explain the function of //cntl statement?

1233


What is concatenating?

1142


is there any way to execute more than one proc in the same exec statement at the same time..?

2676


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

1339


What is the purpose of dd * statement in jcl?

1336


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

1273