RPM Common Parameters

The flags, opt, result, and nodename parameters are common parameters used in the RPM calls. They follow the same conventions as the NetIPC parameters. For further information on these parameters, refer to •NetIPC Common Parameters" in the •Network Interprocess Communication" section and the •Remote Process Management" section in the NSARPA/1000 User/Programmer Reference Manual.

Use the InitOpt, AddOpt, and ReadOpt NetIPC calls to facilitate your use of the opt parameter. These NetIPC calls are explained in •Special NetIPC Calls" also in the •Network Interprocess Communication" section of the NSARPA/1000 User/Programmer Reference Manual.

Flags Parameter

The flags parameter is a bit map of 32 special request bits. By setting bits in the flags parameter, you can invoke various services in RPMControl and RPMCreate. The flags parameter must be initialized to set the desired bits before it is used in these RPM calls. Make sure you also clear the unused bits.

Note

NetIPC and RPM calls assume that the bits in the flags

 

parameter are numbered from left to right with the most

 

significant bit being bit one and the least significant bit being bit

 

32. In NetIPC and RPM, whenever the flags parameter is

 

discussed, bit one is the most significant bit:

 

MSB

 

 

 

 

1 2 3

4 5 6 ...

32

Pascal, NetIPC, and RPM

 

MSB

 

 

 

 

31 30

29 28 ...

0

FORTRAN

 

 

 

 

 

Opt Parameter

The opt parameter allows you to request optional services when invoking the RPMCreate call. The opt parameter is an array which enables a varying number of arguments to be specified.

Use the InitOpt, AddOpt, and ReadOpt NetIPC calls to facilitate your use of the opt parameter.

Result Parameter

Every RPM call has a result parameter. If an error occurs when a program makes an RPM call, an error code is returned in this parameter. The NSARPA/1000 Error Message and Recovery Manual lists and explains the RPM error codes.

Remote Process Management 71