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 |
Can we use two or more SYSPUNCH DD statements in a JCL for multiple unload (SYSREC00 & SYSREC01)..?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
Name the system library from which modules are retrieved at execution
How do you designate a comment in JCL?
what is A-MODE and R-MODE?
How to read records in reverse order in flat file?
how you will the direct the data to spool using sysout option?
Is CPU time (TIME parameter) assigned to a JOB and JOBSTEP BOTH, by default ?
if we give TIME=0 how many sec that job/step
what is force complete
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
Can I send output of job to my remote device careerride123?