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

2451


What is jcl in mainframe?

1196


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

1392


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

1279


What is the format of comment statement?

1197


When space is allocated for an output dataset, what units can be used?

1259


what is use of disp parameter in dd statement?

1094


how to do automated restart when a job abends?

1379


List the different jcl statements that are not permitted in the procedures?

1075


What is the function of the dd avgrec keyword in sms datasets?

1334


Explain how can a stopped job be started again?

1133


can any one plzzzzzz tell the jcl code for creating ps using idcams

11656


How can a fb file convert to vb file using sort program?

1328


I need exexution process for JCL programs

2271


Describe the various parameters utilized in the creation of a gdg?

1150