24.12.2013 Views

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

EXIT [CALLI 12]<br />

22.47 EXIT [CALLI 12]<br />

FUNCTION<br />

stops job execution and optionally resets the job.<br />

CALLING SEQUENCE<br />

EXIT fen-code,<br />

continue return<br />

In the calling sequence, the program supplies the following variables:<br />

o<br />

fen-code is one of the function codes described below.<br />

For either code, when you EXIT from a job in an auto-pushed<br />

context, you are returned to the superior context and the<br />

inferior one is deleted.<br />

o<br />

continue return is the instruction to be executed if the user<br />

issues a valid CONTINUE monitor command.<br />

The function codes and their meanings are:<br />

Code<br />

o<br />

Function<br />

Performs the following:<br />

o Releases all I/O devices, closing files if necessary.<br />

o<br />

Unlocks the job from core.<br />

o Sets the user-mode write-protect bit for the<br />

segment.<br />

high<br />

o<br />

o<br />

o<br />

Resets APR traps to zero.<br />

Clears PC flags.<br />

Performs a RESET and stops the job.<br />

If timesharing was stopped by a TRPSET monitor call, the<br />

monitor resumes timesharing. A RESET monitor call is<br />

executed, and the word EXIT is typed on your terminal, and<br />

the terminal is left in monitor mode. You cannot continue<br />

with the CONT or CCONT monitor command.<br />

1<br />

Performs the following:<br />

o<br />

Clears PC flags.<br />

o<br />

stops the job.<br />

EXIT is not printed on your terminal, and you can continue<br />

program execution with the CONT or CCONT monitor command. If<br />

you use function code 1, you should first RELEASE all devices<br />

and channels; a convenient way to do this is to use the RESET<br />

monitor call. The symbol for EXIT 1, is MONRT.<br />

2-17<br />

Reserved for use by DIGITAL.<br />

22-139

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!