IBM Support

RTVCRGSTS

General Page

RTVCRGSTS API

This API can be used to retrieve the status and type of one or all cluster resource groups (CRGs) and the status on the local node.

Note: This can only be called from within a program

Parameters

CRG - Name of the CRG to retrieve (*ALL = all CRGs)

CRGSTS - Name of the variable to receive the CRG status(es)

CLUACT - Name of the variable to receive the local node status

Return Parameters

INT(4)             - Number of CRG entries returned

{Then repeating entries of the following}

CHAR(10)     - CRG name

INT(4)             - CRG status (0010=active; 0020=inactive; 0030=indoubt) *

INT(2)             - CRG type (01=data; 02=application; 03=device; 04=peer)

* For a full list of the possible CRG status codes, see Summary of Cluster Resource Group Status

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.1.0"}]

Document Information

Modified date:
07 January 2020

UID

ibm11169242