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

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

1088


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

1551


What is Cataloged Procedures?

1101


which utility is used a dummy utility?

1392


How to pass data to a program that is coded in an exec statement?

1266


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

1553


what is use of space parameter in dd statement?

1208


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

1134


Is their any set of rules for dd? Explain.

1098


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

1389


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2641


What do you understand by jcl?

991


Explain how can the attributes of one sms dataset be copied to another dataset?

1156


Explain the purpose of dd dummy statement?

1156


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

2192