Add Client (QZCAADDC, QzcaAddClient) API


  Required Parameter Group:


  Default Public Authority: *EXCLUDE

  Service Program: QZCACLT

  Threadsafe: No

Start of changeThe client management support APIs have been deprecated. It is recommended that applications use the QIBM_QZCA_SNMPTRAP exit point to detect new clients and the snmpGet_v3(), snmpGetbulk_v3(), and snmpGetnext_v3() APIs to retrieve client information.End of change

The Add Client (OPM, QZCAADDC; ILE, QzcaAddClient) API allows applications to make clients known to the server. Use the Refresh Client Information (QZCAREFC, QzcaRefreshClientInfo) API to retrieve more information about the client.

New clients have a system status of unknown until the Update Client Information (QZCAUPDC, QzcaUpdateClientInfo) API is used to indicate *ACTIVE or *INACTIVE.


Authorities and Locks

API Public Authority
*EXCLUDE

Required Parameter Group

Client handle assigned
OUTPUT; CHAR(12)

A unique key to identify this managed client. This parameter returns either the value of the client handle requested if one was specified, or a generated value for this client if one was not specified.

Client handle requested
INPUT; CHAR(12)

A unique key to identify this managed client. For ILE, this parameter can be omitted. If it is omitted a unique key is generated by this API. A NULL-terminated string is required if it is specified. For OPM, this is a required parameter. If this parameter is less than 12 bytes, it is padded with hexadecimal zeros.

Client ID
INPUT; CHAR(*)

An administratively assigned system name for this managed client. By convention, this is the client's fully qualified domain name. A NULL-terminated string is required for this parameter. The length of client ID is 1 through 255.

Community name
INPUT; CHAR(*)

A relationship between an SNMP agent and a set of SNMP managers that is used for authentication, access-control, and proxy. A NULL-terminated string is required for this parameter. The length of the community name is 1 through 255.

Connectivity information
INPUT; CHAR(*)

The connection information used to contact the client. For the format of this parameter, see Format for Connectivity Information Parameter.

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Format for Connectivity Information Parameter

The connectivity information parameter has the following format. For detailed descriptions of the fields in the table, see Field Descriptions.



Field Descriptions

Length of node name. The length of the node name.

Valid values follow:

Node name. The name of the node. The format is dependent on the node type.

Valid values follow:

Node type. The type of connection.

The following values are valid:

Reserved. An ignored field.


Error Messages



API introduced: V3R6

[ Back to top | Client Management Support APIs | APIs by category ]