PNRPY

Called from a master program to eliminate the need for the master to wait for a reply from the slave (an ACEPT or REJCT) before continuing processing. This call is honored only for PWRIT, PCONT, and PCLOS. POPEN and PREAD calls will be forced to wait for the reply.

PTOP communication with no reply is available only between HP 1000s. No Message Accounting is provided on PTOP calls with no reply.

PNRPY([mode][,tto])

mode

16-bit integer. Defines the scope of the call. The options

 

are:

 

0 Noreply only applies to the next PTOP call (default).

 

<0 Noreply applies to all PTOP calls that follow, until

 

explicitly turned off.

 

>0 Turns off the noreply option.

tto

16-bit integer. Transaction Timeout override value. If

 

specified, it must be positive and less than 256. If not specified,

 

the transaction timeout value which is used for all other

 

requests for that node is used. Negative values or values

 

greater than 256 are truncated to the value of the lower eight

 

bits of the stated value. tto is specified in five second units.

 

For example, tto = 2 is the same as 10 seconds.

Slave PTOP Calls

GET

Called from a slave program to obtain the next outstanding master request.

GET(clas,err,func,tag,len[,bufr,bufr])

clas

Slave PTOP class number. A value for clas is assigned to the

 

slave program as the first parameter in the runstring when the

 

slave program is scheduled. Every slave program should first

 

issue a call to RMPAR to obtain the value of clas. Only one

 

value for clas is created by the initial POPEN call. All further

 

POPEN calls to the same slave are assigned the same clas

 

value. The value for clas must be saved and referenced in

 

each GET call. Be careful that you do not alter the content of

 

clas.

err

16-bit integer. Error return.

func

16-bit integer. A value is returned to this parameter

 

upon completion of a call to GET. This value indicates the type

 

of master program request obtained via GET. Request types

 

are:

 

 

1

POPEN

 

2

PREAD

 

3

PWRIT

 

4

PCONT

ProgramtoProgram Communication (PTOP) 125