# Synopsis

PDX_MSGT s041_CreatePrDfCn(long option, MDA_PTR appcnt_ptr, MDA_PTR *prdfcn_ptr)

# Purpose

Create the PRODUCT_DEFINITION_CONTEXT (AP214) or DESIGN_CONTEXT (AP203) entity.

# Description

Creates the PRODUCT_DEFINITION_CONTEXT (AP214) or DESIGN_CONTEXT (AP203) entity. The fields within this entity will be set from existing entities in the CFG model (if used) or set to appropriate default values.

# Input

## option

Options (not used)

## appcnt_ptr

MDA pointer to application_context entity.

# Output

## prdfcn_ptr

The database pointer of the resulting product_definition_context entity.

# Return

S041 error code