The SVAPI macro executes the $RMCALL API. The macro inherits the $RMCALL return code.
Parameters: SVAPI Macro
Refers to the requested option and is automatically set to SERVICE.
Refers to the requested SERVICE and is automatically set to ACTION.
Mandatory field that identifies the type of processing required. The value of this field must be one of the following:
Identifies the required command if the value of the Action field is COMMAND.
Identifies the system image in which to perform the action. If this field is not completed, the current system image is assumed by default.
Identifies the version of the system image in which to perform the action. If this field is not completed, the current system image is assumed by default.
Identifies the resource or service class.
Identifies the resource or service.
Specifies the parameters required by the command specified in the Command field.
Example: SVAPI Macro
In the following example, the macro sets the actual state of the local CICSA resource to ACTIVE.
PROD------ Automation Services : SVAPI Macro Parameter Definition ------------- Command ===> Function=UPDATE .- API Parameters ------------------------------------------------------------. | | | Opt ........ SERVICE Service .... ACTION | | | | Action ..... COMMAND Command .... ASA | | | | SysName .... Version .... | | | | Class ...... 02 Name ....... CICSA | | | | Parms ...... | | | ’-----------------------------------------------------------------------------’ F1=Help F2=Split F3=OK F9=Swap F12=Cancel
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |