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

Can we use two or more SYSPUNCH DD statements in a JCL for multiple unload (SYSREC00 & SYSREC01)..?

1 Answers  


My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

0 Answers  


Name the system library from which modules are retrieved at execution

2 Answers  


How do you designate a comment in JCL?

1 Answers  


what is A-MODE and R-MODE?

2 Answers  


How to read records in reverse order in flat file?

1 Answers  


how you will the direct the data to spool using sysout option?

0 Answers   IBM,


Is CPU time (TIME parameter) assigned to a JOB and JOBSTEP BOTH, by default ?

6 Answers   IBM,


if we give TIME=0 how many sec that job/step

14 Answers  


what is force complete

2 Answers   IBM,


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

0 Answers  


Can I send output of job to my remote device careerride123?

0 Answers  


Categories