MPE/iX Commands Reference Manual (32650-90877)
Chapter 5 187
Command List III
Commands DATA thru EXIT
If the user specifies an
errorstackdepth
outside of the boundaries of the error stack, an
error message is displayed and the error stack is not dumped.
Use
This command may be issued from a session, job, program, or in BREAK. Pressing
Break
has no effect on this command.
Examples
To obtain an error stack dump, enter:
ERRDUMP
A sample system response is:
TYPE MANAGER; THE END-OF-FILE HAS BEEN DETECTED.
FILE SYSTEM MESSAGE 1023.
Another example specifies that the system error stack be dumped:
ERRDUMP 1;SYS
A sample system response is:
THE STATUS OF THE TIME ENTRY IS NON-ACTIVE.
TUE, FEB 9, 1988, 12:18
ESCAPE
Allows the CI programmer to simulate all aspects of CI error handling. (Native Mode)
Syntax
ESCAPE[ [CIERR=]
errnum
]
Parameters
ERRNUM Sets the CIERROR variable to the absolute value of errnum and the
HPCIERR variable is set to errnum.
Operation Notes
The ESCAPE command causes control to leave all user commands (regardless of nesting
levels) and return to the CI. Batch jobs terminate (unless a CONTINUE is in effect) and
sessions issue the prompt.
If no CONTINUE is active, ESCAPE causes the CI to act as it would for any error: for sessions
the user command environment is cleared and the prompt is displayed; jobs terminate.
If CONTINUE is active , then ESCAPE causes the CI to execute the second command after the
CONTINUE. In the following example, the CI will execute cmd2 after the ESCAPE.
cmd1
CONTINUE
udc1
ucmdA
ucmdB