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

In job processing, what happens in execution stage?

1199


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

1284


When output dataset space is required, what quantity categories are used?

1362


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

2454


what are the statements that are not valid to be included in an include statement?

1392


what is the JCL statement consists of?

1189


which parameter is use to declare the name of dataset in dd statement?

1254


Explain the purpose of dd dummy statement?

1218


What is jcl in mainframe, and how many types of jcl statements are there for a job?

1190


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

1330


what happens in execution stage in job processing?

1142


what is DSN in JCL and what are the parameters to declare the DSN?

1194


Explain how can return codes be tested before execution of a job step?

1327


Name the statement which can be used to send data to another mvs jes3 node?

1177


How would you understand error(execution phase)?

1250