Version 4.2.6
 —  Parameter-Referenz  —

DFS - Specify RPC Client's Default Server Address

For static specification, this parameter is available as a keyword subparameter of the NTRPC macro. For dynamic specification, this parameter is available as a keyword subparameter of the profile parameter RPC.

It can be used to define an RPC default server address. It determines the server name, the server node, the logon indicator and the transport protocol. The default server address will be used only if no appropriate server is found in the service directory. For further information, see Specifying RPC Server Adresses in the Natural Remote Procedure Call (RPC) documentation.

To define a default server address, you specify up to 4 subparameters.

DFS is specified on the client side only.

Possible settings
server-name (1 - 192 characters). There is no default, the value must be specified.
server-node (1 - 192 characters). There is no default, the value must be specified.
logon-indicator
L The client initiates a Natural logon to the server with the library name of the current library on the client.
 

(blank)

No server logon will be executed.

If nothing is specified, blank is the default.

Note for Windows platforms:

Instead of specifying L, check the selection box.

transport-protocol-name The transport protocol to be used. ACI is the only possible value and the default.
service-directory-indicator
SERVDIR A service directory must be present before the DFS profile parameter is evaluated.
NOSERVDIR No service directory is used before the DFS profile parameter is evaluated; that is, a service directory needs not be available on the client side.
If nothing is specified, SERVDIR is the default.
Default setting none Subparameter defaults, see above.
Dynamic specification yes See below.
Specification within session yes At runtime, this value can be overwritten using the Natural application programming interface USR2007N.
Application Programming Interface USR2007N See SYSEXT - Natural Application Programming Interfaces in the Utilities documentation.

For dynamic specification, the syntax is as follows:

DFS=(server-name,server-node,logon-indicator,transport-protocol-name,service-directory-indicator)

For the possible values for server-name and server-node, refer to SRVNAME and SRVNODE.

For further information, see the Natural Remote Procedure Call (RPC) documentation.

Seitenanfang