# Synopsis

PDX_MSGT gdx_ECRemoveFromCECs(long option, MDA_PTR gdx_ec_ptr)

# Purpose

Remove an EC from its parent CECs

# Description

Remove an EC from all of the CECs that it is in. Optionally, the EC can be deleted.

# Input

## option

### GDX_DELETE_ENTITY

Delete the GDX EC

## gdx_ec_ptr

The database pointer for the GDX EC entity

# Tolerances

          .fi

# Return

          GDX_NOERR
          GDX_INVALIDMODEL
          Low level error return
          .fi