$RFCALL is the API procedure used to call CA NetMaster FTM from external sources, for example, a user-written NCL procedure.
Use this call to issue CONNECT:Direct commands from CA NetMaster FTM.
This command has the following format:
$RFCALL ACTION=CDCOMMAND
NAME=cd-manager-name
[SYSNAME=system-image-name]
[VERSION=system-image-version]
COMMAND='cd-command-string'
[DISPLAY={YES|NO}]
[USERID=user-id PASSWORD=user-password]
[CASE={YES|NO}]
Indicates that a CONNECT:Direct command is to be processed.
Specifies the name of the CONNECT:Direct manager to which the command applies.
Specifies the name of the system image in which the command is processed.
Default: The name of the local active system image.
Specifies the version of the system image in which the command is processed.
Default: The version of the local active system image.
Specifies the command to be sent to the CONNECT:Direct product.
Specifies whether the response to the command appears (YES) or returned as &$RF$RESPn variables (NO), where n is a sequence number starting from 1 (for example, &$RF$RESP1).
Default: Full-screen mode: YES
Background mode: NO
Specifies the CONNECT:Direct signon ID of the user issuing the command. You must specify this operand if you use the API in background mode.
Specifies the CONNECT:Direct signon password of the user. You must specify this operand if you use the API in background mode.
Indicates whether the specified CONNECT:Direct signon details of the user are to be treated as case sensitive.
Returned Variables
Command response is returned in &$RF$RESPn variables. Each variable contains one line of the response.
The number of lines in the command response is returned in the &$RF$RESPCNT variable.
Contains the message returned by $RFCALL.
Return Codes
The following return codes indicate the success or failure of command processing:
Processing successful.
Processing failed.
Error occurred in call syntax.
Example
The following example shows how to issue a SELECT PROCESS command to the CONNECT:Direct region, DECD1, on the local system in full-screen mode:
$RFCALL ACTION=CDCOMMAND NAME=DECD1 COMMAND='SELECT PROCESS WHERE (QUEUE=HOLD)'
Use this call to force a schedule that monitors file transfers to end.
This command has the following format:
$RFCALL ACTION=FORCEEND NAME=schedule-name
Indicates that a schedule is to be ended.
Specifies the name of the schedule resource to be ended.
Example
The following example shows how to force a schedule resource (identified by the &ZRMDBNAME knowledge base variable) to end.
$RFCALL ACTION=FORCEEND NAME=&ZRMDBNAME
Note: For more information about knowledge base variables, see the Reference Guide.
| Copyright © 2010 CA. All rights reserved. |
|