%EditEscape functions differently based on the context in which it is invoked.
If you've started to enter a command on the command line and then decide you don't want to use this command after all, use %EditEscape to delete the command and to move the cursor to column 1.
If the cursor is positioned in the first position of the command line, use %EditEscape to set command line entry off, i.e., to cause the session cursor to become active. (This has the same effect as entering "SystemCommand Off".)
%EditEscape may also be entered as %Escape.
%EditEscape may also be invoked by pressing the Esc key.
%EditEscape has no operands.
Return Codes
OK Successful.
Examples
Delete characters entered on the command line and return to column 1:
=> %EditEscape
Cause the session cursor to become active:
=> %EditEscape