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

Write a sort step to sort the entire file. Write another
sort step with the following sort card
SORT FIELDS=COPY,
STOPAFT=200
END

Is This Answer Correct ?    19 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the different components of jcl statement?

1147


when does a dataset go uncataloged?

1359


State the uses of syspring, sysin, sort fields, sum fields and dummy.

1139


What is the function of //cntl statement?

1396


what is the JCL statement consists of?

1258


How do you submit a job for execution?

1164


Explain the function of the steplib dd statement?

1180


What are the jcl procedures?

1171


Explain the function of //jcllib statement?

1277


what is the compile process of cobol program expalin with code

2648


Explain the purpose of the dd keylen parameter?

1215


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

1175


How to submit a jcl from cics?

1207


Is acct parameter mandatory?

1277


Why include statement is used in a jcl?

1238