I have a VB file if LreCL 656 and i want to generate one more VB file by copying in the data from 56th position onwards from the input file.My o/p VB file is if Lrecl 604.When i try to do the same using OUTREC i am getting some problem or the other like RDW error or record length out of range.etc.
Kindly advise me on how to acheive this as I am stucked up in this.
Joined: 22 Apr 2006 Posts: 6258 Location: Mumbai, India
WER244A OUTREC - SHORT RECORD
This means, a variable length record was too short to contain all the fields specified on the control statement -- you need to check on OUTREC statements if you really want "those" records in output. Otherwise show us sample input and expected output from that.