MPE/iX Intrinsics Reference Manual (32650-90875)

28 Chapter2
Intrinsic Use
Error Handling
Abort Errors
Software traps are interrupts generated by software events in which the operating system
interrupts the normal flow of a process' execution. Some intrinsics generate a software
trap when they detect certain error conditions. Normally, if an intrinsic causes a trap, the
system trap handler aborts the user program. However, you can write a procedure to
handle abort errors and use it in place of the default system trap handler, which will
permit recovery from errors in certain cases. For more information on handling traps, refer
to Trap Handling Programmer's Guide.
When a program is aborted in a batch job, the operating system removes the job from the
system unless you precede the command that caused the error with a CONTINUE command.
If the program is aborted in an interactive session, the system returns control to the
parent process.
Table 2-5. Status.info Parameter Identifiers
Value Description
0 Normal
<0 Indicates an error condition
>0 Indicates a warning condition