6530 Programmer's Guide
Block Mode Operation
6530 Programmer’s Guide
3-83
Report Exec Return Code (Esc - W)
The Esc - W sequence returns the Exec function return code, as well as
the return and exit codes for the child process started by an Esc - V
sequence. The returned message has the following format:
SOH $
execcode proccodel proccode2 proccode3
terminator
where:
SOH is a control character (01H) that acts as a start of header for
messages returned to the host.
The dollar sign ($) identifies this message as an MS-DOS return
code message.
execcode
is one of the following ASCII characters that specifies
the Exec function return code:
proccode1 is one of the following ASCII characters that specifies the
child process return code:
space (20H) = operation successful,
ok to get child exit code
! (2lH) = invalid function
“ (22H) = file not found
( (28H) = not enough memory
* (2AH) = bad environment
+ (2BH) = bad format
| (7CH) = reserved for IXF PC id
} (7DH) = program file name not found
~ (7EH) = security violation (EXEC function
Parameter not set to ON)
space (20H) = terminate/abort (normal termination)
! (2lH) = Shift-break
“ (22H) = fatal error (critical device error)
# (23H) = terminate and stay resident (KEEP process)