Previous Topic: Issue Commands from Rules without Host Command ResponsesNext Topic: Return Codes from Host Commands


How OPS/REXX Gets Host Command Output

How OPS/REXX obtains the messages that host commands generate depends on the environment to which the commands were addressed:

Environment

How OPS/REXX Fetches the Response

AOF

Host commands sent through the ADDRESS AOF instruction are directives to the internal CA OPS/MVS AOF control facilities. For descriptions of these commands and the output they send to the external data queue, see ADDRESS AOF Commands in this chapter.

AP

The ADDRESS AP instruction routes commands to MSF-connected CA Automation Point systems. CA Automation Point uses CAICCI as a communication protocol and acts as a limited-function remote MSF system. For more information on using ADDRESS AP, see ADDRESS AP Commands in this chapter.

EPI

The ADDRESS EPI instruction routes commands to the CA OPS/MVS External Product Interface. These commands allow users to control and interact with VTAM virtual terminals. Output from EPI host commands is returned in the external data queue. For more information on using ADDRESS EPI, see ADDRESS EPI Commands in this chapter.

ISPEXEC

The ADDRESS ISPEXEC instruction sends commands to ISPF, which must be active to receive them.

LINKMVS

For information about this host environment, see the IBM documentation.

LINKPGM

For information about this host environment, see the IBM documentation.

MESSAGE

MESSAGE is the default host environment for AOFTEST. An ADDRESS MESSAGE instruction displays commands as messages. The text of the command becomes the text of a WTO message. You can use ADDRESS MESSAGE during debugging to inhibit live commands. For more information, see the descriptions of the CA OPS/MVS parameters AOFDEFAULTADDRESS and REXXDEFAULTADDRESS in the Parameter Reference.

OSF

The ADDRESS OSF instruction routes commands to CA OPS/MVS OSF TSO server address spaces. Output from TSO commands directed to the OSF host environment does not return to the OPS/REXX program or to rules. Host commands sent to a server through ADDRESS OSF can contain no more than 256 bytes.

OSFTSL

The ADDRESS OSFTSL instruction routes commands to CA OPS/MVS OSF TSL server address spaces. Output from TSO commands directed to the OSFTSL host environment does not return to the OPS/REXX program or to rules. Host commands sent to an OSF TSL server through ADDRESS OSFTSL can contain no more than 256 bytes.

OSFTSP

The ADDRESS OSFTSP instruction routes commands to CA OPS/MVS OSF TSP server address spaces. Output from TSO commands directed to the OSFTSP host environment does not return to the OPS/REXX program or to rules. Host commands sent to an OSF TSP server through ADDRESS OSFTSP can contain no more than 256 bytes.