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...

can anyone explain me about sort in jcl with inrec and
outrec ?

Answer Posted / madhu s reddy

.
.
//SYSIN DD *
INREC FIELDS=(5,10,15,2,23,4)
SORT FIELDS=(11,3,ZD,A)
OUTREC FIELDS=(1,10)
/*
.
.

INREC option is used to select the part(s) of record from
input file for sorting(ie, vertical split of records).

OUTREC option is used to select the part(s) of record from
sort file and is copied into output file.

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of the steplib dd statement?

1217


What is the significance of addrspc parameter in the exec statement?

1093


Is their any set of rules for dd? Explain.

1204


Name the parameters which can be used to limit the number of records written to a sysout dataset?

1162


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2687


what is “Cond= even” and “Cond=only”?

1322


which utility is used to sort a file in jcl?

1239


What is the purpose of dd * statement in jcl?

1300


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

1306


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

1329


What dd statement is used to supply the name of a dataset?

1394


which utility is used to run a cobol-db2 program?

1406


A dd statement consists of 4 fields. Name them?

1433


List in order the hierarchical levels of jcl?

1114


How does jcl act on code(if you take a cobol program)?

1308