REXX processes statements as follows:
Specify variables for the AXC ADDRESS environment to resolve by prefixing them with an ampersand character (&). For example, the following statement places the value of the REXX variable MSG_CONTENTS into the CA Automation Point variable &MSG_TEXT:
"SETVAR MSG_TEXT (&MSG_CONTENTS)"
When specifying REXX variables as part of a statement, you can also use double quotation marks to offset the variables. For example, to substitute 'THIS IS A MESSAGE FROM REXX' for MSG_CONTENTS, use this syntax:
MSG_CONTENTS = 'THIS IS A MESSAGE FROM REXX' "SETVAR REXX_MESSAGE ("MSG_CONTENTS ")"
When REXX encounters this statement, it substitutes only MSG_CONTENTS and preserves the parentheses.
Copyright © 2012 CA. All rights reserved. |
|