QUERY_ATTACH_MANAGER
The QUERY_ATTACH_MANAGER verb can be used to discover the status of the Attach Manager component, which can be started and stopped using the ENABLE_ATTACH_MANAGER and DISABLE_ATTACH_MANAGER commands.
VCB Structure
typedef struct query_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 */
unsigned short active; /* status of the Attach Manager */
} QUERY_AM;Supplied Parameters
- opcode
- AP_QUERY_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 following parameters are returned:
- primary_rc
- AP_OK
- active
- This field reports the status of the Attach Manager component:
- AP_YES
- The Attach Manager is active.
- AP_NO
- The Attach Manager is not active.
If the verb does not execute because of a parameter error, the following
parameter is returned:
- primary_rc
- AP_PARAMETER_CHECK
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