IDIWTO command

The IDIWTO command is used to write a message to the MVS console. This command can, for example, be used instead of the REXX SAY command whenever tracing is not active (IDITRACE DDname not allocated).

Figure 1. Syntax

1 IDIWTO message_text

New-line characters (X'15') in the message text can be used to split long messages into multiple WTOs. Any other non-printable characters are changed to periods.

Return codes

The IDIWTO command always completes with RC=0.

Example

Figure 2. IDIWTO command example
/* REXX */

/* Write a message to the MVS console */
"IDIWTO Minutes since last duplicate fault =" EPC.MINUTES_SINCE_LAST_DUP

To avoid possible confusion, it is recommended that any WTO messages that are issued do not include a message ID that could be mistaken for one of the formal messages issued by Fault Analyzer. If you want to prefix message IDs with IDI, then you might add an extra character to eliminate the chance of matching a Fault Analyzer message, for example, IDIX followed by a number.