When your REXX program issues an OS/2 command, REXX passes the command to the OS/2 command handler for processing. This processing includes displaying, or echoing, the command on the screen. Commands are also echoed in old-style (non-REXX) .CMD files.
To suppress command echoes, issue the ECHO OFF command from your REXX program. OS/2 will suppress all echoing for the remainder of your REXX program. To suppress echoing for one command, put an at sign (@) in front of the command:
/* NOECHO.CMD -- suppress command echoes */ say 'Without echo:' '@dir c:\config.sys' say 'With echo:' 'dir c:\config.sys' say 'Suppress remaining echoes...' '@echo off' /* suppress the echo of ECHO OFF */ 'dir c:\config.sys'