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.

TAPOP. [CALLI 154]<br />

22.168 TAPOP. [CALLI 154]<br />

FUNCTION<br />

Performs various magnetic tape operations. Several TAPOP. functions<br />

are identical to or extensions of other monitor calls such as MTAPE<br />

and MTCHR. All TAPOP. functions assume that the specified device has<br />

been assigned to your job by the ASSIGN monitor command or the<br />

OPEN/INIT monitor call or that the calling job has Spy privileges.<br />

CALLING SEQUENCE<br />

MOVE ac, [XWD len,addr]<br />

TAPOP. ac,<br />

error return<br />

skip return<br />

addr: EXP fncode<br />

/ SIXBIT/device/ \<br />

I EXP channo I<br />

\ EXP udx /<br />

first argument<br />

last argument<br />

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

o<br />

o<br />

o<br />

o<br />

o<br />

o<br />

len is the length of the argument list.<br />

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

fcncode is one of the function codes described below.<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 and the words<br />

up through last argument are arguments for the given<br />

function.<br />

The function codes fall into four groups:<br />

Codes<br />

o - 777<br />

<strong>10</strong>00 - 1777<br />

2000 - 2777<br />

Functions<br />

Perform specific actions.<br />

Read parameters.<br />

Set parameters. These function codes are not<br />

explicitly listed in the descriptions below. To set a<br />

parameter, use the corresponding read function name<br />

plus the offset .TFSET (=<strong>10</strong>00). For example, to set<br />

the density indicator, use the read density indicator<br />

mnemonic plus .TFSET:<br />

.TFDEN+.TFSET<br />

3000 - 3777<br />

Reserved for customer-defined functions.<br />

22-425

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

Saved successfully!

Ooh no, something went wrong!