Re: To append one field from file1 to all recs in another fi
Posted: Mon Aug 10, 2015 2:03 pm
Firstly, change OUTFIL OUTREC to OUTFIL BUILD. It isn't your problem, but it will reduce confusion.
I think your problem is that you aren't creating 80-byte records, which is what SYNCTool will be expecting for a USING file.
So put a blank in column 80. SORT will pad any intermediate unused bytes with blanks.
I think your problem is that you aren't creating 80-byte records, which is what SYNCTool will be expecting for a USING file.
//CTL1CNTL DD *
OUTFIL FNAMES=CTL2CNTL,
OUTREC=(C' OUTREC BUILD=(1,96,',C'97:C''',25,10,C''')',80:X)
OUTFIL FNAMES=CTL2CNTL,
OUTREC=(C' OUTREC BUILD=(1,96,',C'97:C''',25,10,C''')',80:X)
So put a blank in column 80. SORT will pad any intermediate unused bytes with blanks.