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 / haleema

Keep first 10 sorted output records.
SUBSET FROM(IN1) TO(OUT1) OUTPUT KEEP FIRST(10)USING(CTL1)
//CTL1CNTL DD *
SORT FIELDS=(11,5,CH,A)
/*
Do this using ICETOOL job.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1220


what are JCLLIB and STEPLIB in JCL?

1169


Give the syntax of job specifying jcl statement.

1141


how you will the direct the data to spool using sysout option?

2426


which utility is used a dummy utility?

1462


How is the record format of an output dataset specified?

1158


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

1115


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?

1154


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

1228


Explain how can the attributes of one sms dataset be copied to another dataset?

1212


in ways data can be passed to a COBOL program from JCL?

1218


define cond parameter in jcl?

1266


Is it possible to left uncode disp?

1201


List the various advantages of using jcl language?

1448


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?

1394