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.

IPCFR. [CALLI 142]<br />

SKIP RETURN<br />

On a skip return, the monitor returns the associated variable (see<br />

Chapter 7) in the ac indicating that there is another packet waiting<br />

in the queue. If there are no more packets in the queue, the monitor<br />

clears the ac. The packet retrieved from the process' input queue is<br />

returned to--the address specified in the IPCFR. monitor call<br />

(beginning with addr). The packet header block is filled in as<br />

follows: ----<br />

Word Symbol<br />

0 . IPCFL<br />

1 . IPCFS<br />

2 . IPCFR<br />

3 . IPCFP<br />

Contents<br />

The left half remains the same, the right. half<br />

contains flags (see Chapter 7) .<br />

Sender's PID .<br />

Receiver's PID.<br />

Length<br />

Bits<br />

and location of data:<br />

Contents<br />

0-17<br />

18-35<br />

Message length.<br />

Address of message, for short-form<br />

messages (default), or page number of<br />

long-form messages. If the page number<br />

refers to an existing page, error code<br />

IPCUP% is returned.<br />

4 . IPCFU<br />

5 . IPCFC<br />

Sender's PPN. If the argument block length is<br />

less than 5, this word is not returned.<br />

Sender's capability word:<br />

Bits Symbol Meaning<br />

0 IP.JAC Sending program has JACCT<br />

privileges.<br />

1 IP.JLG Sender is logged in.<br />

2 IP.SXO Sender is execute-only.<br />

3 IP.POK Sender has POKE. privilege<br />

(JP. POK) .<br />

4 IP.IPC Sender has IPCF privilege<br />

(JP. IPC) .<br />

5-17 Reserved.<br />

18-26 IP.SCN Sender's context number.<br />

27-35 IP.SJN Sender's job number.<br />

If the argument block length is less than 6,<br />

word is not returned.<br />

this<br />

ERROR RETURN<br />

The packet is not retrieved and one of the following error codes<br />

returned in the ac:<br />

Code<br />

1<br />

2<br />

3<br />

4<br />

5<br />

Symbol<br />

IPCAC%<br />

IPCNL%<br />

IPCNP%<br />

IPCIU%<br />

IPCTL%<br />

Error<br />

Address check.<br />

Packet header not long enough.<br />

No packet in receiving queue.<br />

Page is in use (locked in core) .<br />

Data too long for user's buffer.<br />

is<br />

22-189

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

Saved successfully!

Ooh no, something went wrong!