DISABLE_ATTACH_MANAGER

The Personal Communications or Communications Server Attach Manager is enabled by default when the node is started. The user can issue this verb to disable all dynamic loading, This verb resets a global flag that the Attach Manager checks before launching a transaction program.

VCB Structure

typedef struct disable_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     */
} DISABLE_AM;

Supplied Parameters

The application supplies the following parameters:
opcode
AP_DISABLE_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