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

Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

2458


How can the submitting users racf authority be overridden in a job stream?

1265


In job processing, what happens in execution stage?

1204


What is the maximum length of a single line of jcl?

1353


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

1387


Explain dd statement in jcl?

1132


How jcl is used for testing batch programs?

1285


whats the diff bw the evaluate also and and?

2344


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

1303


How to override loadlib?

2041


How to do automated restart when a job abend?

1393


Explain the purpose of dd * statement in jcl?

1072


How does jcl specify the job to the operating system?

1247


What is concatenating?

1083


What is the motivation behind coding class parameter in job statement?

1181