MPE/iX Intrinsics Reference Manual (32650-90875)

Chapter 10 589
Command Definitions (QUIT-ZSIZE)
QUITPROG
QUITPROG
NM and CM callable.
Aborts the entire user process structure.
Syntax
I16V
QUITPROG(
num
);
Parameters
num
16-bit signed integer by value (required)
Passes any integer value in the range 0..16383. When executed,
num
is
output as part of the abort message.
Operation Notes
Aborts the entire user process structure (all children of the job/session main process) by:
Transmitting an abort message to the list device of the job/session main process.
Setting the job/session job control word (JCW) to indicate that the program terminated
in an error state.
Deleting all descendants of the job/session main process (the entire user program
structure). All resources held by the deleted processes are released. Any remaining files
opened by the deleted processes are closed and assigned the same disposition they had
when opened.
In batch jobs, not using the CONTINUE command terminates the job.
This intrinsic affects the system job control word (JCW).
Related Information
Manual Process Management Programmer's Guide