HP 3000 Manuals

Requesting a Process Break [ Process Management Programmer's Guide ] MPE/iX 5.0 Documentation


Process Management Programmer's Guide

Requesting a Process Break 

During a session, your program can initiate a break programmatically with
the CAUSEBREAK intrinsic.  The CAUSEBREAK intrinsic performs the
programmatic equivalent of pressing [[BREAK]] in a session.  MPE XL
suspends the entire user process structure (below the Root CI process)
and activates the Root CI.

The following is an example of a CAUSEBREAK intrinsic call:

     CAUSEBREAK;

While you are in BREAK mode, MPE XL permits you to use a limited number
of CI commands to perform functions such as creating a file or
transmitting a message.  (Refer to the MPE XL Commands Reference Manual 
(32650-90003) for a discussion of commands available in BREAK mode.)
When you execute the :RESUME command, MPE XL returns all user processes
to the state they were in before the CAUSEBREAK intrinsic call executed.


NOTE You are not permitted to use the CAUSEBREAK intrinsic in a job. Also, a program containing the CAUSEBREAK intrinsic will not break if it is executed from a UDC in which the NOBREAK option is specified.


MPE/iX 5.0 Documentation