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.

SETUUO [CALLI 75]<br />

The monitor does an implied RUN UUO on<br />

SYS:progra.EXE when the current program session<br />

ends. Program session termination occurs under<br />

one of the following conditions:<br />

o<br />

When Bit 0 of the flag is set, the session<br />

terminates whenever the job would otherwise<br />

enter monitor mode (for instance, EXIT UUO,<br />

AC, illegal memory reference, or swap read<br />

error). If the job becomes detached, issuing<br />

the unprivileged ATTACH command (or the ATTACH<br />

UUO) does not attach you to the job in monitor<br />

mode. You will attach in user mode instead.<br />

The DETACH function of the ATTACH UUO allows<br />

you to detach, leaving your terminal in<br />

monitor mode.<br />

o When Bit 0 of the flag is clear, the session<br />

terminates whenever you execute a command that<br />

destroys the core image. The RUN UUO executes<br />

SYS:progra.EXE instead of whatever command you<br />

issued. You can still enter monitor mode when<br />

your program terminates, or when you issue an<br />

ATTACH command. You may then execute any<br />

command that does not change the core image,<br />

as well as the KJOB command. Commands that<br />

automatically save the current context and<br />

push to a new one do not change the core<br />

image.<br />

The status of .STPGM remains in effect until it is<br />

explicitly cleared by a privileged program, or the<br />

job logs out. Whenever .STPGM is in effect, the<br />

program may execute RUN UUOs on any file. Control<br />

may even transfer to a program that is not<br />

privileged to execute this SETUUO.<br />

If .STPGM specifies an inaccessible file, the job<br />

will be logged out when the program session<br />

terminates.<br />

31 .STDFR<br />

32 .STHST<br />

Sets deferred spooling. If argument is non-zero,<br />

spooled output will not be queued until the job<br />

logs out. If argument is zero, spooled output<br />

will be queued as each file is closed.<br />

Sets the host system. This function logically<br />

attaches the controlling terminal to the specified<br />

host system in an ANF-<strong>10</strong> network, and requires<br />

your program to have JACCT privileges or to run<br />

under [1,2]. When this call is returned, the job<br />

on the previous system becomes detached.<br />

The calling sequence is:<br />

MOVE ac, [.STHST"addr]<br />

SETUUO ac,<br />

error return<br />

skip return<br />

addr:<br />

node number or SIXBIT node name<br />

22-391

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

Saved successfully!

Ooh no, something went wrong!