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

How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5473


What is job control language?

1032


Explain the function of dd disp parameter?

1046


How can a jobs execution priority be modified?

1230


What is the function of //jcllib statement?

1265


what is the purpose of coding notify parameter in job statement?

1097


How dummy is used in jcl?

1078


What is notcat 2 - gs?

1411


What do you understand by the terms: joblib and steplib?

1102


Explain the function of the dd dcb keyword?

1181


define cond parameter in jcl?

1219


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

1226


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

1134


What is the use of symbol // in jcl?

1387


how do you access an uncataloged dataset in a jcl?

1631