$RMSTSET

Syntax

$RMSTSET
CLASS={USRCLS |class-name}
NAME=resource-name
STATUS=actual-state

Use

Use this API to set the actual state of a defined resource.

Operands

Operand

Description

CLASS={ USRCLS | class-name }

The class of the resource that is the subject of the status change. USRCLS specifies the user-defined resource class.

NAME=resource-name

The resource that is the subject of the status change.

STATUS=actual-state

The actual state to which the resource is to be set.

Returned Variable

Variable

Description

&SYSMSG

Contains the message returned by $RMSTSET.

Return Codes

The following return codes indicate the success or failure of command processing:

&RETCODE

Meaning

0

Processing was successful.

8

Processing failed.

16

Error occurred in call syntax.

Example

The following example sets the actual state of MYRES01 to FAILED:

$RMSTSET NAME=MYRES01 STATUS=FAILED


Copyright © 2010 CA. All rights reserved.