6530 Programmer's Guide
Conversational Mode Operation
6530 Programmer’s Guide
2-47
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
 CR 
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 operating system 
return code message. 
execcode
 is one of the following ASCII characters that specifies 
the Exec function return code:
space (20H) = operation successful, OK to get child exit 
code
! 21H) = invalid function 
“ (22H) = file not found 
# (23H) = path not found
% (25H) = access denied
( (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) 










