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 / 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 |
I have multiple jobs ( JCLs with several JOB cards ) in a member. What happens if I submit it?
Can we create VSAM file by using IEBGENER?
What dd statement is used to supply the name of a dataset?
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
a input file contains 1000 records, how to move the first 500 record into one out put file and how to move to second 500 records to anothere output file
what is the general use of PARM? Give an explanation about the system defined parameters that could be passed through this PARM like XREF,LIST,LET,APOST,RENT etc..
Wrete a JCL to compare two files and mached records move to onc file & un mached rows wants to another file?
13 Answers CGI, DSRC, IBM,
Explain the function of //cntl statement?
When we use conditional statement in JCL using if-then-else-endif, IF statement is true, the step is bypassed or executed?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
What do you understand by jcl?
describe the dd statement,its meaning,syntax and keywords?