REXX programs can access other command environments through an ADDRESS statement. For example, this REXX statement accesses the CA Automation Point PPQ environment and allows you to issue PPQ commands:
ADDRESS PPQ "command [operands]"
When multiple command environments are active, the REXX ADDRESS statement directs commands to a specific environment. If an environment is not active, commands provided under that environment are not available. Attempting to address an invalid or inactive command environment generates a return code of -30, which is returned in the special REXX variable RC.
The CA Automation Point AXCREXX program activates the AXC environment and makes it the default environment. The AXC environment allows you to issue CA Automation Point command processors.
When the AXCREXX program executes, it generates these return codes:
Code |
Description |
---|---|
0 |
AXCREXX started the specified REXX program successfully. |
200 |
AXCREXX could not find the REXX program file that you specified. |
201 |
You did not specify a REXX program file name. |
202 |
AXCREXX could not register its CA Automation Point command processor with REXX. |
203 |
AXCREXX could not detect the presence of CA Automation Point. |
204 |
No more return queues are available from which AXCREXX can receive results of CA Automation Point REXX commands. |
Copyright © 2012 CA. All rights reserved. |
|