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.

TSK. [CALLI 177]<br />

o The monitor enters the link into the .TKSOK<br />

state.<br />

o<br />

The monitor issues a device on-line interrupt<br />

to the job if the job enabled this condition<br />

using the PSI system.<br />

3 .TKFEA<br />

Enters the link into the active state. Before<br />

issuing this function the link must be in the<br />

.TKSID state. All other states cause an error<br />

code (TKILS%) to be returned. When this code is<br />

issued, the monitor reads the local NPD pointed to<br />

by argl and the remote NPD pointed to by arg2. It<br />

then sends a Connect ~nitiate request to the<br />

node/task specified in the remote NPD. It puts<br />

the link into the .TKSCC state and takes the skip<br />

return. The link remains in the TKSCC state until<br />

a Conneot Confirm or Disconnect function is<br />

issued.<br />

If a Connect Confirm is issued, the monitor<br />

discards the remote NPD pointed to by arg2. It<br />

builds a new remote NPD using the information in<br />

the Connect Confirm message (so that it can be<br />

read by a .TKFRS function). The link is placed in<br />

the .TKSOK state and the controlling job is given<br />

a device on-line interrupt (if the condition was<br />

enabled using the PSI system).<br />

4 .TKFEI<br />

If a Disconnect function is issued, the monitor<br />

discards both the local and remote NPD<br />

specifications. It places the link into the<br />

.TKSID (idle) state and gives the controlling job<br />

a device off-line interrupt (if the job enabled<br />

this condition using the PSI system).<br />

Enters the link into the idle state. This<br />

function is illegal for those tasks in .TKSDC or<br />

.TKSCC states and is a no-op for those already in<br />

the idle state (.TKSID). The monitor performs the<br />

following for those links in .TKSCI and .TKSOK<br />

states:<br />

State<br />

.TKSCI<br />

.TKSOK<br />

Function<br />

Both NPDs are released. The link state<br />

is set to .TKSID.<br />

A Disconnect Initiate is sent. The link<br />

state is set to .TKSDC.<br />

When Disconnect Confirmed message is issued at a<br />

later time, the monitor frees both NPDs, sets the<br />

link state to .TKSID, and issues a "device<br />

off-line" interrupt.<br />

22-455

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

Saved successfully!

Ooh no, something went wrong!