ENABLE_ATTACH_MANAGER
If the Attach Manager has been disabled, it can be re-enabled by issuing the Personal Communications or Communications Server Node Operator Facility verb, ENABLE_AM. This sets a global flag that the Attach Manager checks before launching a Transaction Program.
VCB Structure
typedef struct enable_am
{
unsigned short opcode; /* Verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* format */
unsigned short primary_rc; /* Primary return code */
unsigned long secondary_rc; /* Secondary return code */
} ENABLE_AM
Supplied Parameters
The application supplies the following parameters:
- opcode
- AP_ENABLE_ATTACH_MGR
- format
- Identifies the format of the VCB. Set this field to zero to specify the version of the VCB listed above.
Returned Parameters
If the verb executes successfully, the Attach Manager returns the following
parameter:
- primary_rc
- AP_OK
If the verb does not execute because the node has not yet been started,
the Attach Manager returns the following parameter:
- primary_rc
- AP_NODE_NOT STARTED
If the verb does not execute because of a system error, the Attach Manager
returns the following parameter:
- primary_rc
- AP_UNEXPECTED_SYSTEM_ERROR