# Synopsis

PDX_BOOL mda_IsValidDbptr(MDA_PTR db_ptr)

# Purpose

Test if a database pointer is valid.

# Description

Given the database pointer db_ptr, determine if it is valid. Valid implies that the pointer can be passed to other mda functions. It does not imply that the entity referenced by db_ptr is valid.

# Input

## db_ptr

Database pointer to validate

# Return

          0 if db_ptr is not a valid database pointer
          1 if db_ptr is a valid database pointer
          .fi