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.

GETSTS [OPCODE 062]<br />

RELATED CALLS<br />

0 CLRST.<br />

0 ERLST.<br />

0 FILOP.<br />

0 SENSE.<br />

0 SETSTS<br />

0 STATO<br />

0 STATZ<br />

COMMON PROGRAMMING ERRORS<br />

o<br />

Forgetting that there is only one return from the call.<br />

o If you give a nonexistent or uninitialized channel number,<br />

the monitor stops your job and prints the following message<br />

on your terminal:<br />

?I/O to unassigned channel at user PC address<br />

where address gives the program counter for your job at the<br />

time of the failure.<br />

o<br />

Forgetting to clear the error status bits before retrying the<br />

GETSTS function. An INPUT function followed by GETSTS will<br />

not clear previously set bits. You should use SETSTS to<br />

clear the I/O error bits before attempting to read the new<br />

I/O error status.<br />

22-164

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

Saved successfully!

Ooh no, something went wrong!