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.

GETTAB [CALLI 41]<br />

22.55 GETTAB [CALLI 41]<br />

FUNCTION<br />

Returns a word from one of the monitor's GETTAB tables, allowing your<br />

program to read many types of job and system information. The GETTAB<br />

tables are listed in Chapter 23.<br />

CALLING SEQUENCE<br />

MOVE ac, [XWD index, table]<br />

GETTAB ac,<br />

error return<br />

skip return<br />

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

o index is an index into the specified table. If the table is<br />

indexed by job number, you can use -1 to obtain information<br />

about your own job.<br />

If the table is indexed by job number or segment number, you<br />

can use -2 to return information about your own high segment.<br />

o<br />

table gives the number of the GETTAB table.<br />

SKIP RETURN<br />

The requested word from the table is returned in the ac.<br />

ERROR RETURN<br />

The index or the table number was invalid.<br />

EXAMPLES<br />

See Chapter 23 for examples.<br />

22-165

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

Saved successfully!

Ooh no, something went wrong!