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

There are a set of 10 files and a customer will be selecting random no of files(i.e they may be more than 2, may not be in the order).Sometimes he might just select one file or sometimes no files at all.How do you code a JCL for this? Is it possible to code just JCL alone for this problem?

9 Answers   Infosys,


In order to continue a job after a return code of 12 in step1, what the step2 exec statement include?

1 Answers  


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

0 Answers  


What is Cataloged Procedures?

0 Answers  


what do you mean By spooling? Expand SPOOL?

4 Answers  


mainframe questions like basic&depth

0 Answers   TetraSoft,


Suppose there r total 10 steps. Out of which i want to execute only the 7th step. How can i do that....????

3 Answers  


what is use of dcb parameter in dd statement?

0 Answers   IBM,


why jobstep can't be more than 255 and for GDG has max limit 255 . Is there any relation between the two

1 Answers   IBM, Perot Systems,


What is a S0C4 error ?

2 Answers  


List some valid operation codes in JCL

3 Answers  


what is XSUM in some fields= none, xsum ??

7 Answers   Xansa,


Categories