DEXEC 13 (Remote I/O Status)

You can use this DEXEC call (request code 13) to obtain the status and type of a device identified by a logical unit number.

DEXEC(dest,code,cnwd,sta1[,sta2][,sta3][,sta4])

dest

16-bit integer. The Router/1000 node address of the

 

node where the call is executed. A value of -1 indicates the

 

local node. Local execution will also be performed whenever

 

dest is equal to the local node address.

code

16-bit integer. Remote I/O status request code = 13.

cnwd

Control word containing the LU of the I/O device.

sta1

First status word. Device Table word 6 is returned here.

sta2

Second status word. Interface Table word 6 is returned here.

sta3

Third status word. If the Zbit in the control word is equal to 0,

 

driver parameter word 1 is returned here. If the Zbit is equal

 

to 1, the buffer address for return of driver information is

 

specified here.

sta4

Fourth status word. If the Zbit in the control word is equal to

 

0, driver parameter word 2 is returned here. If the Zbit is

 

equal to 1, the buffer length for return of driver information is

 

specified here. When the Zbit is equal to 1, the sta4 length

 

specification must be less than or equal to 512 words.

1110 DEXEC