Version 8.2.2 for Mainframes
 —  Parameter Reference  —

RPC - Remote-Procedure-Call Settings

This Natural profile parameter allows you to specify subparameters which control the handling of Natural RPC. It corresponds to the macro NTRPC in the parameter module NATPARM.

Possible settings See RPC Parameter Syntax.
Default setting none See Keyword Subparameters.
Dynamic specification yes This parameter can only be specified dynamically. In the Natural parameter module NATPARM, the macro NTRPC is used instead.
Specification within session no  

The following topics are covered below:

Note:
See also Setting Up a Natural RPC Environment in the Natural Remote Procedure Call (RPC) documentation.


RPC Parameter Syntax

The parameter syntax of RPC is as follows:

RPC=(keyword-subparameter=value,keyword-subparameter=value,...)

For names and values of keyword-subparameter, see Keyword Subparameters.

Top of page

NTRPC Macro Syntax

On the client side, the syntax of the NTRPC macro in the Natural parameter module is as follows:

         NTRPC ACIVERS=value,                                          *
               AUTORPC=value,                                          *
               COMPR=value,                                            *
               CPRPC=value,                                            *
               DFS=value,                                              *
               MAXBUFF=value,                                          *
               RDS=value,                                              *
               RPCSDIR=value,                                          *
               RPCSIZE=value,                                          *
               SERVER=value,                                           *
               TIMEOUT=value,                                          *
               TRYALT=value

On the server side, the syntax of the NTRPC macro in the Natural parameter module is as follows:

         NTRPC ACIVERS=value,                                          *
               CPRPC=value,                                            *
               LOGONRQ=value,                                          *
               MAXBUFF=value,                                          *
               NTASKS=value,                                           *
               RPCSIZE=value,                                          *
               RPCUCT=value,                                           *
               SERVER=value,                                           *
               SRVCMIT=value,                                          *
               SRVNAME=value,                                          *
               SRVNODE=value,                                          *
               SRVRTRY=value,                                          *
               SRVTERM=value,                                          *
               SRVUSER=value,                                          *
               SRVWAIT=value,                                          *
               TRACE=value,                                            *
               TRANSP=value

For detailed information on these keyword subparameters, follow the links in the section Keyword Subparameters.

Top of page

Keyword Subparameters

There are three groups of keyword subparameters that apply to:

Top of page

RPC Parameter Example

For the client:

RPC=(RPCSIZE=80,MAXBUFF=30,AUTORPC=ON,DFS=(MYSERV,MYNODE,,ACI))

For the server:

RPC=(RPCSIZE=80,MAXBUFF=30,SRVNAME=MYSERV,SRVNODE=MYNODE,SERVER=ON)

Top of page

NTRPC Macro Example

For the client:

         NTRPC RPCSIZE=80,                                             *
               MAXBUFF=30,                                             *
               AUTORPC=ON,                                             *
               DFS=(MYSERV,MYNODE1,,ACI),                              *
               RDS=((SRVX,NODEX),(SRVY,NODEY))

For the server:

         NTRPC RPCSIZE=80,                                             *
               MAXBUFF=30,                                             *
               SRVNAME=MYSERV,                                         *
               SRVNODE=MYNODE,                                         *
               SERVER=ON

Top of page