Natural for OpenVMS Version 6.3.12 for OpenVMS
 —  Parameter Reference  —

SRVRTRY - Number of Connect/Reconnect Attempts

This Natural profile parameter specifies the number of attempts for an RPC server to connect/reconnect (REGISTER) to an EntireX Broker that is not active, and the wait time between two successive attempts.

Possible settings See SRVRTRY Parameter Syntax.
Default setting 0,60 No attempts.
Dynamic specification yes  
Specification within session no  

Note:
SRVRTRY is specified on the server side only.

SRVRTRY Parameter Syntax

The SRVRTRY parameter syntax is as follows:

SRVRTRY=(attempts,wait-time)

Or:

SRVRTRY=attempts

Note:
If only a value for attempts is specified, the parentheses may be omitted.

Where:

Syntax Element Value Explanation
attempts

0
or
1 - 2147483647

Number of attempts to connect/reconnect to an EntireX Broker that is not active (EntireX Broker message 02150148).

Notes:

  1. The specification of attempts enables you to start a Natural RPC server before the required EntireX Broker has been started and to shutdown an EntireX Broker temporarily without implicitly terminating all Natural RPC servers.
  2. If the EntireX Broker is still not active after the number of attempts specified in attempts or if attempts is zero, the RPC server terminates.
wait-time

0
or
1 - 3600

Wait time in seconds between two successive attempts.

Examples

  1. RPC=(SRVRTRY=(20,10))

    Or:

    NTRPC SRVRTRY=(20,10)

    20 attempts with a wait time of 10 seconds between two successive attempts.

  2. RPC=(SRVRTRY=500) 

    Or:

    NTRPC SRVRTRY=500

    500 attempts with a wait time of 60 seconds between two successive attempts.

Note:
For further information, see the Natural Remote Procedure Call (RPC) documentation, and especially Considerations for Mainframe Natural RPC Servers with Replicas.

Top of page