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

I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?

10284


Where & How Do You Code Identifier In Jcl?

1326


define cond parameter in jcl?

1329


how do you access an uncataloged dataset in a jcl?

1816


How is a type of file defined in the jcl that executes the cobol program?

1242


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

1293


if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

2355


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

11769


Explain about ISPF/TSO Commands

2018


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

1687


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

1349


What are the parameters that are used in creating a gdg?

1282


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2800


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

4970


What are the rules employed while naming the steps in a job?

1210