Interactive Write/Read

The interactive WRITE/READ uses the same request code as a Remote Read call and is useful for programs that must communicate with an operator using a question/answer format for the exchange of information. (Read or write requests that reference disk LUs are not supported.)

DEXEC(dest,code,cnwd,bufr,bufl[,prm1][,prm2][,0,0,keywd])

dest

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

 

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

 

node. Local execution will also be performed whenever dest

 

equals the local node address.

code

16-bit integer. Read request code = 1.

cnwd

Control word. Set bit 11 equal to 1 to indicate interactive

 

write/read. Define the read buffer in bufr/bufl and write

 

buffer in prm1/prm2. Bit 12 must equal zero. (See the RTEA

 

Programmer's Reference Manual for more information on this

 

parameter.)

 

Because DEXEC 1 uses bit 11 to indicate an interactive

 

write/read, this bit cannot be used to send control information

 

to the driver in RTEA systems. (Bit 11 can be specified to the

 

driver in DEXEC 2 and 3 calls.) Do not specify the logical unit

 

number of any NSARPA/1000 communication line in the

 

control word. Doing so may destroy the integrity of your

 

network.

bufr

Read buffer.

(input/output)

 

bufl

16-bit integer. Read buffer length (+ for words, - for

 

characters). The maximum combined write/read buffer size

 

(bufl + prm1) is 512 words (-1024 characters).

prm1

Write buffer.

prm2

16-bit integer. Write buffer length (+ for words, - for

 

characters). The write buffer length should be less than or

 

equal to the read buffer length. The maximum combined

 

write/read buffer size (bufl + prm1) is 512 words (-1024

 

characters).

0,0

Formal place holders which must be included whenever keywd

 

is specified.

keywd

The locked LU's keyword number. (See the RTEA Programmer's

 

Reference Manual for more information on this parameter.)

DEXEC 113