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
List the various advantages of using jcl language?
Explain the function of //jcllib statement?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
What is condition checking in jcl? Is this possible?
What is Cataloged Procedures?
what is use of dcb parameter in dd statement?
How to override loadlib?
Explain the purpose of the dd keylen parameter?
what is DSN in JCL and what are the parameters to declare the DSN?
Explain how can a jobs execution priority be modified?
what are JCLLIB and STEPLIB in JCL?
What is the function of the dd avgrec keyword in sms datasets?
Is there any command to check wether the ps file is in sorted order?
whats the diff bw the evaluate also and and?
What is job control language?