HP 3000 Manuals

EXIT [ MPE/iX Commands Reference Manual Volume I ] MPE/iX 5.0 Documentation


MPE/iX Commands Reference Manual Volume I

EXIT 

Terminates the command interpreter.  (Native Mode)

Syntax 

     EXIT

Parameters 

None

Operation Notes 

When you are using MPE/iX you can start another Command Interpreter by
running it as a program.  To do so, you enter CI.PUB.SYS, or simply CI.
If you enter this command more than once, you will create levels of the
CI program.

To determine what level of the command interpreter you are in, use the
SHOWVAR HPCIDEPTH command.  Then, to back out from the CI, enter the EXIT
command.  If the command interpreter is the root CI, EXIT is equivalent
to BYE and ends the session.  Otherwise, EXIT returns to the previous
process.  To go beyond HPCIDEPTH=2 requires process handling
(PH) capability.  To end a session without backing out of the CI
level-by-level with the EXIT command, enter BYE.

Use 

This command is available from a job or session.  It is not available
from a program or in BREAK. Pressing Break has no effect on this command.

Example 

The following example shows how to determine what level of the CI you are
in, and then, using the EXIT command, to back out to the root CI:

     SHOWVAR HPCIDEPTH 
     HPCIDEPTH=2
     EXIT 
     SHOWVAR HPCIDEPTH 
     HPCIDEPTH=1

To back out from the second level to the first, use the EXIT command.  To
back out from the session from any level, use the BYE command.

Related Information 

Commands      BYE, HELLO, RUN, XEQ,SHOWVAR

Manuals       Appendix A, "Predefined Variables in MPE/iX"



MPE/iX 5.0 Documentation