1 | Manager type | Input | Char(10) |
2 | Monitored resource information | Input | Char(*) |
3 | Length of monitored resource information | Input | Binary(4) |
4 | Format of monitored resource information | Input | Char(8) |
5 | Server information | Input | Char(*) |
6 | Length of server information | Input | Binary(4) |
7 | Format of server information | Input | Char(8) |
8 | Server defined output | Output | Char(*) |
9 | Error code | I/O | Char(*) |
The Remove Monitored Resource Entry (QfpadRmvMonitoredResourceEntry) API removes a Monitored Resource Entry (MRE) from the monitored resource directory. A monitored resource may be a system object or a set of attributes not associated with a specific system object, such as the set of system environment variables. Monitored resource entries are added using the Add Monitored Resource Entry (QfpadAddMonitoredResourceEntry) API.
This API will do the following when the manager type is *ADMDMN:
This API requires the following if the manager type is *ADMDMN:
The management function which is to monitor the resource. *ADMDMN must be specified.
The monitored resource information provided as input.
The length of the monitored resource information.
The format name of the monitored resource information. The following format name is allowed:
EENT0100 The format of monitored resource information in a cluster administrative domain.
The information about the server where the monitored resource will be monitored by the system. When the manager type is *ADMDMN, the server is the cluster resource group associated with the cluster administrative domain.
The length of the server information. The length of the server information parameter must be set to the size of the SRVI0100 structure.
The format name of the server information. The following format name is allowed:
SRVI0100 The format of the server information when the server is a cluster.
When the manager type is *ADMDMN, the server defined output contains the 16 character request handle. The request handle is a unique string or handle that identifies this API call. It is used to associate this call to any responses placed on the user queue specified in the results information parameter. The API will generate the request handle and return the handle to the caller of the API.
The structure in which to return error information. For the format of the structure, see Error Code Parameter.
Offset | Type | Field | |
---|---|---|---|
Dec | Hex | ||
0 | 0 | CHAR(10) | Monitored resource type |
10 | A | CHAR(10) | Monitored resource library name |
20 | 14 | BINARY(4) | Length of monitored resource name |
24 | 18 | CHAR(*) | Monitored resource name |
Length of monitored resource name. The length in bytes of the monitored resource name.
Monitored resource library name. The name of the monitored resource library. The allowed values are:
Blank | Specify a blank monitored resource library name for the monitored resource entry types *SYSVAL, *ENVVAR, *NETA, or *TCPA. |
Monitored resource library name | Specify a monitored resource library name for the monitored resource entry types *USRPRF, *ASPDEV, *JOBD, and *CLS. Monitored resource types of *USRPRF and *ASPDEV must specify QSYS for the monitored resource library name. Library special values, e.g. *CURLIB or *LIBL, are not allowed. |
Monitored resource name. The name of the monitored resource.
Monitored resource type. The type of monitored resource. The allowed values are:
*USRPRF | User profile. |
*JOBD | Job description. |
*CLS | Class. |
*ASPDEV | Independent auxiliary storage pool (ASP) device description. |
*SYSVAL | System value. |
*NETA | Network attribute. |
*ENVVAR | System environment variable. |
*TCPA | TCP/IP attribute. |
Offset | Type | Field | |
---|---|---|---|
Dec | Hex | ||
0 | 0 | BINARY(4) | Length of server defined output |
4 | 4 | CHAR(10) | Cluster name |
14 | E | CHAR(10) | Cluster administrative domain name |
24 | 18 | CHAR(30) | Results information |
Cluster administrative domain name. The name of the cluster administrative domain.
Cluster name. The name of the cluster.
Length of server defined output. The length, in bytes, of the server defined output parameter for this API. If the manager type is *ADMDMN, this value must be 16.
Results information. This field identifies a qualified user queue field and is followed by a reserved field.
Qualified user queue: Completion information is returned to this user queue, which exists on the node from which the API was called, after the function has completed. See the Usage Notes section of this API for a description of the data that is placed on this queue. This is a 20-character field. The first 10 characters contain the user queue name, and the second 10 characters contain the user queue library name. No special values are supported. QTEMP, *LIBL, *CURLIB are not valid library names. The attributes of this user queue must be keyed.
Reserved: The last 10 characters of the results information are reserved and must be set to hexadecimal zero.
See Cluster basics for more information about using this API to remove a monitored resource entry in a cluster administrative domain.
Unless otherwise specified, all character strings are assumed to be in the CCSID of the program that calls this API.
The following identifies the data sent to the user queue (excluding the message text).
Message ID | Message Text |
---|---|
CPCBB01 C | Cluster Resource Services API &1 completed. |
CPF1999 D | Errors occurred on command. |
CPF2204 D | User profile &1 not found. |
CPF3C21 D | Format name &1 is not valid. |
CPF3CF2 D | Error(s) occurred during running of &1 API. |
CPFBB17 D | &1 API cannot be processed in cluster &2. |
CPFBB2D D | Timeout detected while waiting for a response. |
CPFBB35 D | The user profile name &1 is not valid for this request. |
CPFBB39 E | Current user does not have IOSYSCFG special authority. |
CPFBB47 D | Cluster Resource Services detected an error and may have ended abnormally. |
CPFBB48 D | Cluster Resource Services error detected. |
CPFBBA1 D | All cluster command user queues busy. |
CPFBBAB D | Node role &1 not valid. |
CPFBBB4 D | Create cluster administrative domain failed. |
CPFBBB8 D | Cluster administrative domain already exists on cluster node &1. |
CPFBBB9 D | Cluster administrative domain &1 internal error. |
Messages that are delivered through the error code parameter are listed here. The data (messages) sent to the results information user queue are listed in the Usage Notes above.
Message ID | Error Message Text |
---|---|
CPF1098 E | No authority to class &1 in library &2. |
CPF2634 E | Not authorized to object &1. |
CPF2697 E | The request did not complete in the time allotted. |
CPF3C1E E | Required parameter &1 omitted. |
CPF3C21 E | Format name &1 is not valid. |
CPF3C24 E | Length of the receiver variable is not valid. |
CPF3C29 E | Object name &1 is not valid. |
CPF3C39 E | Value for reserved field not valid. |
CPF3C3C E | Value for parameter &1 not valid. |
CPF3CF1 E | Error code parameter not valid. |
CPF3CF2 E | Error(s) occurred during running of &1 API. |
CPF9801 E | Object &2 in library &3 not found. |
CPF9802 E | Not authorized to object &2 in &3. |
CPF9803 E | Not authorized to object &2 in &3. |
CPF9804 E | Object &2 in library &3 damaged. |
CPF9810 E | Library &1 not found. |
CPF9820 E | Not authorized to use library &1. |
CPF9872 E | Program or service program &1 in library &2 ended. Reason code &3. |
CPFA0AA E | Error occurred while attempting to obtain space. |
CPFAA03 E | Resource &1 in library &4 type &3 cannot be removed for managed resource type &2. |
CPFB0CE E | &1 special authority is required. |
CPFBB02 E | Cluster &1 does not exist. |
CPFBB09 E | Cluster node &1 does not exist in cluster &2. |
CPFBB0A E | Cluster node &1 in cluster &2 is not active. |
CPFBB0F E | Cluster resource group &1 does not exist in cluster &2. |
CPFBB20 E | Cluster partition detected for cluster &1 by cluster node &2. |
CPFBB26 E | Cluster Resource Services is not active or not responding. |
CPFBB32 E | Attributes of user queue &1 in library &1 are not valid. |
CPFBB39 E | Current user does not have IOSYSCFG special authority. |
CPFBB46 E | Cluster Resource Services internal error. |
CPFBBB6 E | Library &1 not allowed for resource &2. |
Top | Server Support APIs | APIs by category |