This API procedure sets the actual state of a defined resource.
Syntax
This API procedure function call has the following format:
$RMSTSET CLASS={USRCLS|class-name}
NAME=resource-name
STATUS=actual-state
Operands
This API procedure function call has the following operands:
Specifies the class of the resource that is the subject of the status change.
Default: USRCLS that specifies a user-defined resource class
Specifies the resource that is the subject of the status change.
Specifies the actual state to which the resource is to be set.
Return Variable
This API procedure function call returns the following variable:
Contains the returned message.
Return Codes
Return codes indicate the success or failure of processing. This API procedure function call returns the following return codes in the &RETCODE variable:
Indicates that processing was successful.
Indicates that processing failed.
Indicates that error occurred in the call syntax.
Example: Set Resource Actual State
This example sets the actual state of MYRES01 to FAILED:
$RMSTSET NAME=MYRES01 STATUS=FAILED
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |