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.

ERLST. [CALLI 132]<br />

22.44 ERLST. [CALLI 132]<br />

FUNCTION<br />

Returns data giving the status of aach device on an MPX channel that<br />

has errors.<br />

CALLING SEQUENCE<br />

MOVE I ac,addr<br />

ERLST. ac,<br />

error return<br />

skip return<br />

addr:<br />

XWD<br />

BLOCK<br />

length,channo<br />

length-1<br />

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

o<br />

o<br />

o<br />

addr is the address of the argument block.<br />

length is the length of the argument block; the length should<br />

be the number of devices connected to the channel plus two.<br />

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

SKIP RETURN<br />

The monitor returns data at addr+1 for devices on the channel that<br />

have errors. The data at addr is in the format:<br />

addr:<br />

XWD<br />

EXP<br />

XWD<br />

XWD<br />

length,channo<br />

number of devices<br />

udx,status<br />

udx, status<br />

In the argument list, the program supplies the following variables:<br />

o<br />

length and channo were given in the call.<br />

o number of devices is the number of devices on the channel<br />

that have encountered errors.<br />

o<br />

udx is the Universal Device Index of a device having errors.<br />

o<br />

status is a halfword<br />

device. These bits<br />

GETSTS monitor call.<br />

containing I/O status bits for the<br />

are identical to those returned for a<br />

The monitor continues to return device error information in the<br />

argument block until all space allocated by your program has been<br />

filled. Your program should check the value of addr+1. If addr+1 is<br />

greater than the length of the argument block minus two, the device<br />

error list is incomplete because of lack of space.<br />

For a list of I/O status bits, see the appropriate device in <strong>Volume</strong> 1.<br />

22-125

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

Saved successfully!

Ooh no, something went wrong!