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 |
In order to continue a job after a return code of 12 in step1, what the step2 exec statement include?
in a series of 10 steps, i need to run only 1,3,5,7 & 9th steps only. how do u code?
I have DATE filed like DD-MM-YYYY, So I want output should be MM/DD/YYYY using JCL? Can anybody post the answer for above requirement?
4 Answers BirlaSoft, FIS, Wipro,
How many extents are possible for a sequential file ? For a VSAM file ?
For how long a job can be executed continuously in a mainframe ?
when does a dataset go uncataloged?
can i sort packed decimal if i can tell the syntax
Explain about REXX
how to split a file
i want apply mainframe devolper with 3+ but i dont have that much of knowledge what isthe solution to get that much of knoweldge?
What do you understand by the term job time – out and how can you overcome that?
I have Job A and Job B. I want to trigger Job B from Job A. Please advise.