Previous Topic: REXX Functions and Routines in AOF RulesNext Topic: Reference a Stem Variable in an INTERPRET Statement or VALUE Function


How to Use the SAY Instruction

The destination of a SAY-generated message is different among rule types and often even among sections of a rule.

The only logical use of the SAY instruction is as follows:

When you need to issue a message to a system console, consoles, or even directly to the SYSLOG, always use the OPS/REXX ADDRESS WTO host environment-not the SAY instruction. Also, you can use the OPS/REXX OPSSEND built-in function in rules to directly send messages only to the OPSLOG. These tools are far more effective than the SAY instruction because you have complete control of where the messages are directed.