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.

IPCFR. [CALLI 142]<br />

PMBI<br />

PMBl+l<br />

PMBl+2<br />

PMBl+3<br />

32,,3<br />

400004,,<strong>10</strong>01<br />

ASCIZ/CORP/<br />

o<br />

;User code and function code<br />

;The requested PID<br />

;The symbolic name<br />

The IPCFR. monitor call can take the skip return and return an error<br />

code in the flag word of the packet header block. For example, word 0<br />

of the packet header block could contain the following:<br />

PHB/ 0520<br />

This means that the length of the packet message block specified in<br />

the IPCFR. monitor call was not long enough, so the monitor returned<br />

error code 5 in the flag word. The 20 in the flag word indicates that<br />

the message in the receiver's input queue is from [SYSTEM] INFO.<br />

If a process sends a request to [SYSTEM]INFO to obtain the PID<br />

associated with the symbolic name "FRED," the following could result:<br />

Location Contents<br />

AC<br />

PHB<br />

PHB+l<br />

PHB+2<br />

PHB+3<br />

PMB<br />

PMB+l<br />

PMB+2<br />

o<br />

7620<br />

2,,<strong>10</strong>03<br />

164,,<strong>10</strong>11<br />

<strong>10</strong>"PMB<br />

11, , 1<br />

o<br />

ASCIZ/FRED/<br />

;indicating a skip return and no<br />

;errors set in the AC; no more packets<br />

;in queue.<br />

;t;.he flag word<br />

;the sender's PID<br />

;the receiver's PID<br />

;length and addr of message block<br />

;user code and function code<br />

;no response<br />

;symbolic name<br />

The first word of the packet,<br />

indicates the following:<br />

PHB, contains 7620. This value<br />

o<br />

76 is the error code indicating that the symbolic name "FRED"<br />

is not associated with any currently assigned PID.<br />

o 2 indicates that the call to [SYSTEM]INFO succeeded, and a<br />

normal return was taken. The number of packets still in the<br />

queue is stored in the ac.<br />

o 0 indicates that the packet is not a "returned to sender"<br />

packet.<br />

The call to [SYSTEM]INFO successed, and a normal return was taken.<br />

The number of packets still in the queue is stored in the ac.<br />

RELATED CALLS<br />

o<br />

o<br />

o<br />

IPCFM.<br />

IPCFQ.<br />

IPCFS.<br />

22-191

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

Saved successfully!

Ooh no, something went wrong!