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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How is the record format of an output dataset specified?

1200


What are the 2 types of parameters in dd statement?

1207


Brief description of inline procedure of jcl.

1316


what are JCLLIB and STEPLIB in JCL?

1230


how to compare two datasets without using superce because output is limited to 133 bytes

2163


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

2517


Explain the function of dd name parameter with a 2 part structure; audit.report?

1519


how can you check if a file is empty using jcl?

1484


when does a dataset go uncataloged?

1357


what is JCL?

1220


Explain the purpose of dd dummy statement?

1273


Name what parameter directs the output of the job log dataset?

1105


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

1219


What is jcl in mainframe, and how many types of jcl statements are there for a job?

1246


What is the purpose of dd * statement in jcl?

1331