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


how to have variable length record in outrec..i have the
requmt as follows..
i/p file variable lenght record
output file : i need to alter the input and write into
outrec(another file)

sort fields:
copy from(dd1) using ctl1

ctl1cntl dd *
outfil fnames=xxx,
outrec=(1,131)

here i outrec is bombing with error..how to overcome this
defect...???



how to have variable length record in outrec..i have the requmt as follows.. i/p file variable le..

Answer / deepika

We need to include RDW in OUTREC,Record Descriptor Word :
Data preceding a variable record that specifies the length
of the entire record including the RDW.) in outputs which
takes 4-bytes.So we need to add add 4-bytes to OUTREC as,

OUTREC=(1,4,5,131)

Is This Answer Correct ?    6 Yes 2 No

Post New Answer

More JCL Interview Questions

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

1 Answers  


in a series of 10 steps, i need to run only 1,3,5,7 & 9th steps only. how do u code?

5 Answers   ADP,


I have DATE filed like DD-MM-YYYY, So I want output should be MM/DD/YYYY using JCL? Can anybody post the answer for above requirement?

4 Answers   BirlaSoft, FIS, Wipro,


How many extents are possible for a sequential file ? For a VSAM file ?

3 Answers  


For how long a job can be executed continuously in a mainframe ?

4 Answers  


when does a dataset go uncataloged?

0 Answers   IBM,


can i sort packed decimal if i can tell the syntax

1 Answers   Barclays,


Explain about REXX

1 Answers  


how to split a file

4 Answers   IBM,


i want apply mainframe devolper with 3+ but i dont have that much of knowledge what isthe solution to get that much of knoweldge?

1 Answers  


What do you understand by the term job time – out and how can you overcome that?

0 Answers  


I have Job A and Job B. I want to trigger Job B from Job A. Please advise.

2 Answers   Wipro,


Categories