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.

WHERE [CALLI 63]<br />

22.185 WHERE [CALLI 63]<br />

FUNCTION<br />

Returns the node number for a device.<br />

CALLING SEQUENCE<br />

/ MOVE ac, [SIXBIT/device/] \<br />

I MOVE I ac,channo I<br />

\ MOVEI ac,udx /<br />

WHERE ac,<br />

error return<br />

skip return<br />

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

o<br />

o<br />

o<br />

device is the SIXBIT physical or logical name of a device.<br />

channo is the number of an initialized channel.<br />

udx is the Universal-Device Index for a device.<br />

When your program specifies OPR as the device, the monitor returns the<br />

node number at which your job is logically located. Refer to the<br />

LOCATE corcunand description in the Commands ManuaJ,...<br />

When your program specifies CTY as the device, the monitor returns the<br />

node number of your job's host system.<br />

When your program specifies TTY as the device, the monitor returns the<br />

node number to which your terminal is physically located.<br />

SKIP RETURN<br />

The monitor returns the status flags for the node and the node number<br />

for the given device in the ac. The format of the returned word is:<br />

Bits<br />

0-12<br />

13<br />

Symbol<br />

RM.SDU<br />

Meaning<br />

Reserved for use by DIGITAL.<br />

Dial-up node.<br />

14-17<br />

RM. SUP<br />

Status of the node:<br />

Value Symbol Status<br />

1 . RMSUN Not in contact<br />

2 .RMSUD Down.<br />

4 .RMSUG Loading.<br />

<strong>10</strong> . RMSUL Loaded .<br />

with central site .<br />

18-35<br />

Node number for device.<br />

ERROR RETURN<br />

A nonexistent device was specified.<br />

RELATED CALLS<br />

o<br />

o<br />

o<br />

LOCATE<br />

NODE.<br />

NETOP.<br />

22-472

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

Saved successfully!

Ooh no, something went wrong!