HP 1000 to HP 3000 Calling Sequence

A POPEN call directed to a remote HP 3000 node causes the named slave PTOP program at that node to be scheduled.

For PTOP communications between HP 1000 and HP 3000 nodes you must call the subroutine HELLO to open communication before issuing the POPEN call. BYE must be called after the last PTOP call to terminate communication.

POPEN(pcb,err,name,node,tag[,enam][,pram][,flag][,bfsz])

pcb

PTOP control block.

err

16-bit integer. Error return.

name

Slave program name. An array of up to 28 bytes containing the

 

ASCIIcoded slave program name and terminated by a blank or

 

nonASCII character.

node

16-bit integer. The negative value of the logical unit (LU)

 

number associated with the link to the HP 3000. For BISYNC

 

connections, the LU number of the BISYNC link. For X.25

 

connections, the LU number of the virtual circuit assigned to

 

the connection by DSN X.25/1000. Before using the POPEN

 

call, use the subroutine LU3K to obtain this LU number of the

 

virtual circuit.

tag

Tag field. 20word array.

(input/output)

 

enam

HP 3000 program ASCII entry point name. Refer to the

 

DS/3000 HP 3000 to HP 1000 Reference Manual for HP 3000

 

Users for more information.

pram

HP 3000 program control information. Refer to the DS/3000

 

HP 3000 to HP 1000 Reference Manual for HP 3000 Users for

 

more information.

flag

HP 3000 program loading options. The flag parameter passes

 

loading option information to the scheduled slave program at

 

the HP 3000 node. The loading options are declared by the

 

value of bits within the flag parameter word. These bit

 

settings and their defaults are described in the DS/3000

 

HP 3000 to HP 1000 Reference Manual for HP 3000 Users. If

 

the flag parameter is omitted, the default values are used.

bfsz

16-bit integer. HP 3000 program communications buffer

 

size. Refer to the DS/3000 HP 3000 to HP 1000 Reference

 

Manual for HP 3000 Users for more information.

122 ProgramtoProgram Communication (PTOP)