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...

How I sort the records in a file and copy the first 10
records to another file

Answer Posted / balasukumar

//SORTIN DD DSN=INF1
//SORTOT DD DSN=OTF
//SYSIN DD *
SORT FIELDS = COPY
SKIP=0
STOPAFT=10
/*

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how JCL works?

1210


I need exexution process for JCL programs

2225


IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

2119


what is the use of JCL?

1109


What is NOTCAT ?

1274


How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?

1100


What is the difference between run mode and addressing mode?

1159


Is it possible to left uncode disp?

1141


What is condition checking in jcl? Is this possible?

1058


What is the function of the steplib dd statement?

1134


Explain how can values be passed from the job stream to an executable program?

1128


Matching Logic in Jcl not in cobol.Could any one please answer this question

4109


In sms datasets, what is the function of the dd mgmtclas keyword?

1339


My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

2403


Where & How Do You Code Identifier In Jcl?

1206