How to overlay a constant value in PD format



Support for NetApp SyncSort for z/OS, Visual SyncSort, SYNCINIT, SYNCLIST and SYNCTOOL

How to overlay a constant value in PD format

Postby Shambu » Mon Jun 28, 2021 11:56 pm

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) 
Shambu
 
Posts: 4
Joined: Tue May 12, 2020 11:56 am
Has thanked: 0 time
Been thanked: 0 time

Re: How to overlay a constant value in PD format

Postby sergeyken » Tue Jun 29, 2021 1:18 am

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)
Javas come and go, but JCL stays forever.
User avatar
sergeyken
 
Posts: 216
Joined: Wed Jul 24, 2019 10:12 pm
Has thanked: 5 times
Been thanked: 19 times


Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post