Answers to Exercises [ MPE V to MPE XL: Getting Started ] MPE/iX 5.0 Documentation
MPE V to MPE XL: Getting Started
Answers to Exercises
1. CI Return
2. SHOWVAR hpcidepth
3. Each time you enter the EXIT command, you return to the previous CI
level, until you reach the root level, at which point the EXIT
command ends your session. BYE ends your session regardless of what
level of the CI you are in.
4. EXIT Return EXIT Return or BYE Return
5a. CI Return CI Return CI Return
5b. SETCATALOG can only be executed from the root level of the command
interpreter. You would get an error message: THIS COMMAND CAN ONLY
BE EXECUTED FROM THE ROOT CI. (CIERR 9063).
6a. SETVAR A, 3
SHOWVAR A
6b. LISTREDO
EXIT
6c. SHOWVAR A
The value of A (and of all variables except HPCIDEPTH) remains
constant in all levels of the CI.
7a. LISTREDO
7b. ci
7c. LISTREDO
The history stack reflects only those commands that you have entered
at a particular level of the CI. As you enter a higher level, the
previous level's history stack is preserved, though you cannot list
it until you return to that CI level. At each level, LISTREDO
displays only the commands entered at that level.
8. EXIT Return EXIT Return EXIT Return
or
Break ABORT Return
9.
editor
...
/A
1 (User writes program code)
...
/K PROG
...
/:RUN CI.PUB.SYS
...
: (Nested CI level--user compiles/runs PROG)
...
:EXIT (User returns to root CI)
/
MPE/iX 5.0 Documentation