Page 1 of 1

How to overlay a constant value in PD format

PostPosted: Mon Jun 28, 2021 11:56 pm
by Shambu
Could someone please tell me how to overlay a constant value, say '010' in PD format to a sortout file.
I tried but its not working.

 
OUTREC OVERLAY=(1:1,3,C'010',TO=PD,LENGTH=2) 

Re: How to overlay a constant value in PD format

PostPosted: Tue Jun 29, 2021 1:18 am
by sergeyken
There is no such thing as “constant” when it is a field in a record of a dataset.

Use
. . . OVERLAY=(1:1,3,
              +10,TO=PD,LENGTH=2)