ARexx provides a number of command utilities, located in the REXXC
Directory, that provide various control functions. These are executable modules that can be run from the Shell and are relevant only when the ARexx resident process is active.
HI
Sets the global halt flag, which causes all active ARexx programs to receive an external halt request. Each program will exit immediately unless its HALT
interrupt has been enabled. The halt flag does not remain set, but is cleared automatically after all current programs have received the request.
RX name [arguments]
Launches an ARexx program. If the specified name includes an explicit path, only that directory is searched for the program; otherwise, the current directory and REXX:
are checked for a program with the given name. The optional argument string is passed to the program.
RXSET [name [[=] value]]
Adds a (name,value) pair to the Clip List. Name strings are assumed to be in mixed case. If a pair with the same name already exists, its value is replaced with the current string. If a name without a value string is given, the entry is removed from the Clip List. If RXSET is invoked without arguments, it will list all (name, value) pairs in the Clip List.
RXC
Close the resident process. The REXX
public port is withdrawn immediately, and the resident process exits as soon as the last ARexx program finishes. No new programs can be launched after a close request.
TCC
Closes the global tracing console as soon as all active programs are no longer using it. All read requests queued to the console must be satisfied before it can be closed.
TCO
Opens the global tracing console. The tracing output from all active programs is diverted automatically to the new console. The console window can be moved and resized by the user and can be closed with the TCC
command.
TE
Clears the global tracing flag, which forces the tracing mode to OFF for all active ARexx programs.
TS
Starts interactive tracing by setting the external trace flag, which forces all active ARexx programs into interactive tracing mode. Programs will start producing trace output and will pause after the next statement. This command is useful for regaining control over programs caught in infinite loops or otherwise misbehaving. The trace flag remains set until cleared by the TE command, so subsequent program invocations will be executed in interactive tracing mode.
WaitForPort [name of port]
WaitForPort
waits 10
seconds for the specified port to appear. A return code of 0
indicates that the port was found. A return code of 5
indicates that the application is not currently running or that the port does not exist. Port names are case sensitive. For example:
WaitForPort ED_1 WaitForPort MyPort