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 ?

Answers were Sorted based on User's Feedback



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

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

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

Answer / challa srinivas

In short,INREC i used before SORT and OUTREC is used after SORT.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More JCL Interview Questions

Is automatic restart possible in jcl? If yes, how?

0 Answers  


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

0 Answers  


How do you submit JCL via a Cobol program?

4 Answers   IBM,


how would you create a temporary dataset? And where will you use them?

0 Answers  


What is the function of a dd statement?

0 Answers  


is it possible to submitt more than one job in job card in jcl? and if yes than is it necessary to have the jobs same name?

4 Answers   Accenture,


If a jcl has just 1 step and the input file to this does not exist, then what will happen if we submit this job?

3 Answers  


what is the purpose of coding notify parameter in job statement?

0 Answers   IBM,


How system will identify whether user wants to create PS or PDS? If answer is SPACE parameter then why we need to pass ps or po as dataset organisation while creation

1 Answers  


Hi, Please clear me when COND=ONLY and COND=EVEN. Explain me with example.

2 Answers   GJ,


what is pupose and meaning of the REGION keyword and what jcl statement is it associated with?

1 Answers  


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

0 Answers  


Categories