Synopsis
PDX_MSGT mda_FindParentByTF(long option, MDA_PTR db_ptr, DDF_TF tf, MDA_PTR *parent_ptr)
Purpose
Find parent by TF.
Description
Traverse all the parents to find the specified TF. The parents of parents will be traversed until a match is found or there is no parent.
Input
option
Options (not used)
db_ptr
Entity to find parent of
tf
Typeform of parent to find
Output
parent_ptr
Parent entity that matches tf
Return
MDA_NOERR