Page 1 of 1

How to overlay a constant value in PD format

Posted: 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.

 

Code: Select all

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

Re: How to overlay a constant value in PD format

Posted: 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

Code: Select all

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