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

Suppose we have 5 steps in a job.No step should be executed After submitting every step in a job

2 Answers   AVB, IBM,


I have two input SORTIN files and We need to create one SORTOUT file which contains data of both input files. What is the SortCard for this?. Suppose the length of the both files are different, then How we do it? Please reply ASAP

4 Answers   CSC,


what is a cataloged procedure ?

1 Answers   Xansa,


Can we give two user name in NOTIFY parameter in JOBCARD

1 Answers   Syntel,


CAN ANYONE TELL ME WHAT IS "JOB-CARD"

4 Answers   Syntel,


How to overide the symbol parameter in the jcl ?

3 Answers   UST,


Explain the function of the steplib dd statement?

0 Answers  


how can i use the parameters decalred in main pgm in sub pgm

2 Answers   TCS,


what is the difference between return code and maxcc?

2 Answers   iGate,


In my JCL 10 Steps Will Be there Now i want to execute step05 And step06. How to Give the Cond?

2 Answers   IBM,


wht r different types of sorts ?

1 Answers   L&T,


When will we need to specify Space parameter ?

3 Answers   Wipro,


Categories