HP 3000 Manuals

QUIT [ MPE/iX Intrinsics Reference Manual ] MPE/iX 5.0 Documentation


MPE/iX Intrinsics Reference Manual

QUIT 

NM and CM callable.

Aborts the calling process.

Syntax 
_____________________________________
|                                   |
|          I16V                     |
|     QUIT(num);                    |
_____________________________________

            

Parameters 

num                   16-bit signed integer by value (required) 

                      Passes any integer value in the range -32767 to
                      32768.  When executed, num is output as part of the
                      abort message, as follows:

                           ABORT: PIN = pin: by QUIT; PARM = num 
                           PROGRAM TERMINATED IN AN ERROR STATE

Operation Notes 

Aborts the calling process by:

   *   Transmitting an abort message to the list device of the calling
       process.

   *   Setting the job/session job control word (JCW) to indicate that
       the program terminated in an error state.

   *   Deleting the calling process and all of its descendants.  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 results in job termination.

This intrinsic affects the system job control word (JCW).

Related Information 

Intrinsics            None

Commands              None

Manuals               Process Management Programmer's Guide (32650-90023)



MPE/iX 5.0 Documentation