When using the SETPTR macro to add new pointers, to what value does the new pointer get assigned?
Release : All supported releases.
Component : CA IDMS/DB
There are two different ways to tell SETPTR to add a new pointer.
IDMSRSTT SETPTR=(*,6)
This syntax is used when adding pointers to the owner record in a set.
The * indicates that the new pointer will be initialized to the dbkey of the record itself - indicating that the set is empty.
IDMSRSTT SETPTR=(,7)
This syntax is used for adding any other pointers and it will be initialized to high values - x'FFFFFFFF'.
This will indicate that the record is not a member of the set.
Typically, a user-program would have to be used to connect the member records to the appropriate owner.