Close Management Collection Object (QpmCloseMgtcol) API


  Required Parameter Group:

1 Management collection object handle Input Binary(4)
2 Error code I/O Char(*)

  Service Program Name: QPMAAPI

  Default Public Authority: *EXCLUDE

  Threadsafe: Yes

The Close Management Collection Object (QpmCloseMgtcol) API closes a management collection object that was previously opened by the Open Management Collection Object (QpmOpenMgtcol) API. All repositories that were opened for this management collection object by the Open Management Collection Object Repository (QpmOpenMgtcolRepo) API are implicitly closed. After the management collection object is closed, its handle is no longer valid.


Authorities and Locks

API Public Authority
*EXCLUDE

When the management collection object is closed, the *SHRRD lock placed on the object by the Open Management Collection Object (QpmOpenMgtcol) API is released.


Required Parameter Group

Management collection object handle
INPUT; BINARY(4)

A handle to an open management collection object. This handle was created by the Open Management Collection Object (QpmOpenMgtcol) API.

Error code
I/O; CHAR(*)

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


Error Messages

Message ID Error Message Text
CPF0AA4 E Lock request was not satisfied in a specified time.
CPF24B4 E Severe error while addressing parameter list.
CPF3CF1 E Error code parameter not valid.
CPF3CF2 E Error(s) occurred during running of &1 API.
CPF3C3C E Value for parameter &1 not valid.


API introduced: V5R2

[ Back to top | >Performance Management APIs | APIs by category ]