# Synopsis

PDX_MSGT s041_CreateAppCnt(long option, MDA_PTR *appcnt_ptr)

# Purpose

Create the APPLICATION_CONTEXT and APPLICATION_PROTOCOL_DEFINITION entities.

# Description

Creates the APPLICATION_CONTEXT and APPLICATION_PROTOCOL_DEFINITION entities. The fields within these entities will be set from existing entities in the CFG model (if used) or set to appropriate default values.

# Input

## option

Options (not used)

# Output

## appcnt_ptr

The database pointer of the resulting application_context entity.

# Return

S041 error code