The x command serves two purposes:
In a mainline (PROC) routine, the x command functions as a stop command and halts the PROC.
In a subroutine, the x command acts as a return statement, and returns control to the next executable line after the one that invoked it.
Syntax
x {text}{+} |
Parameter(s)
text |
Text to display to the terminal before exiting. |
+ |
Suppresses the usual carriage return at the end of the text. |
See Also