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

What parameter of the job statement is used to limit the cpu time consumed by the job?

1279


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

1313


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

1347


How does jcl act on code(if you take a cobol program)?

1291


List the various advantages of using jcl language?

1456


Is there any command to check wether the ps file is in sorted order?

2888


what is the compile process of cobol program expalin with code

2587


Explain in DD statement what is the use of DCB parameter?

1142


Where & How Do You Code Identifier In Jcl?

1286


What is condition checking in jcl? Is this possible?

1117


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

1520


What do you understand by jcl?

1053


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

1135


what sort card you will use to copy the data from one dataset to another dataset?

1230


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

1223