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
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
which parameter is use to declare the name of dataset in dd statement?
How to submit a jcl from cics?
Is it possible to left uncode disp?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
When output dataset space is required, what quantity categories are used?
What is the function of dd disp parameter?
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 the function of //jcllib statement?
Which dd parameters are required?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
Explain how can an in-stream dataset be terminated?
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
Is condition checking possible in jcl? If yes, how?
Is it possible to define dd statements as you want?