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 / srinivasa yadav

//sysin dd *
sort fields=(starting postion,length,data-type,order)
skip rec=0
stop rec=10
/*

and also we can use file-aid tool. in file-aid
there is an option 3.3

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between the joblib and the steplib statements?

1524


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

2676


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

1392


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

1190


What is the syntax of JCL statement?

1292


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

1265


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

1302


How to override loadlib?

2118


In job processing, what happens in execution stage?

1292


Is it possible to left uncode disp?

1254


what is use of space parameter in dd statement?

1333


what are the statements that are not valid to be included in an include statement?

1437


when can a job time-out occur? How to overcome that?

1351


Explain the function of dd name parameter with a 2 part structure; audit.report?

1524


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

1687