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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

JOBSTS [CALLI 61]<br />

22.78 JOBSTS [CALLI 61]<br />

FUNCTION<br />

Provides information (including checking statistics) about terminal<br />

devices, pseudo-terminals, and software states associated with<br />

terminals. For more information about terminals and pseudo-terminals,<br />

refer to Chapter 15.<br />

CALLING SEQUENCE<br />

/ MOVNI ac,jobno \<br />

I MOVE I ac,channo I<br />

\ MOVEI ac,udx /<br />

JOBSTS ac,<br />

error return<br />

skip return<br />

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

o udx is the Universal Device Index of the pseudo-terminal for<br />

which information is desired.<br />

o channo is the number of an I/O channel on which a terminal<br />

device has been opened.<br />

o jobno is the number of a logged-in job associated with<br />

terminal. To obtain status of a pseudo-terminal, provide<br />

job number of the controlled job. Note that the negative<br />

the job number is used because positive values<br />

interpreted as channels or UDXs.<br />

the<br />

the<br />

of<br />

are<br />

SKIP RETURN<br />

The monitor returns a status word for the job,<br />

flags set from the following list.<br />

with the appropriate<br />

Bits<br />

Symbol<br />

Meaning<br />

0 JB.UJA<br />

1 JB.ULI<br />

2 JB.UML<br />

3 JB.UOA<br />

4 JB.UDI<br />

5 JB.UJC<br />

The given job number is assigned.<br />

The job is logged in.<br />

Terminal is at monitor level.<br />

Terminal output is available.<br />

The terminal is at user level and is in the input<br />

wait state, or the terminal is at monitor level<br />

and can accept a command. There is no command<br />

waiting to be decoded, the job is not running, and<br />

the job is not stopped waiting for operator<br />

intervention.<br />

JACCT is set for the job. Note that this means<br />

that two CTRL/Cs will not stop the job.<br />

6 JB. URN<br />

The job is running.<br />

is in a wait state.<br />

This bit is zero if the<br />

job<br />

7 JB.UFC<br />

The terminal device is in "full character set"<br />

mode. This characteristic can be set using the<br />

TRMOP. UUO.<br />

22-200

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

Saved successfully!

Ooh no, something went wrong!