Synopsis
PDX_MSGT mda_ReadOrigDbptr(long option, MDA_PTR db_ptr, MDA_PTR *orig_db_ptr)
Purpose
Reads the original database pointer for an entity
Description
The original (or predecessor) database pointer for db_ptr will be returned. If orig_db_ptr is the same as db_ptr then db_ptr is an original entity otherwise orig_db_ptr is the database pointer of the entity which db_ptr was created from (possibly through more than one iteration). See the mda_intro man page for more information about entity predecessors.
Input
option
Options (not used)
db_ptr
Entity whose original database pointer is to be returned
Output
orig_db_ptr
Original database pointer for db_ptr
Return
MDA error code