DMDM gate, ADD_DOMAIN function
The ADD_DOMAIN function of the DMDM gate adds a new domain to the DM table (on the CICS(R) catalog) of all domains. Because the add is placed on the catalog, it survives system failure. A delete is required to remove the entry.
Input Parameters
- DOMAIN_ID
- is the unique character pair, usually an abbreviated form of the domain name.
- DOMAIN_NAME
- is a unique string, 1 through 8 characters, which is the name of the domain.
- DOMAIN_TOKEN
- is the unique index that corresponds to the new table entry for the domain.
- PROGRAM_NAME
- is a unique string, 1 through 8 characters, which is the name of the initialization module for the specified domain.
Output Parameters
- REASON
- The following values are returned when RESPONSE is DISASTER:
- ABEND
- LOADER_ERROR
- LOOP
- The following values are returned when RESPONSE is EXCEPTION:
- DUPLICATE_DOMAIN_NAME
- DUPLICATE_DOMAIN_TOKEN
- INSUFFICIENT_STORAGE
- PROGRAM_NOT_FOUND
- RESPONSE
- is DFHDMEN's response to the call.
- Values for the parameter are:
- OK
- EXCEPTION
- DISASTER
- INVALID
- KERNERROR