Use Retry Connect Set (-retryConnect) to specify the number of times to retry connecting to a set of OpenEdge databases (primary and alternates), before giving up. Retry Connect Set (-retryConnect) applies to the primary database and one or two alternates (specified by -dbalt1 and -dbalt2). All connections in the set are tried in turn and count as one attempt towards the retry count specified by the parameter.

Operating system and syntax UNIX / Windows -retryConnect retry-count
Use with Maximum value Minimum value Single-user default Multi-user default
Client Connection 100 0 - 0
retry-count
An integer value specifying the number of retry attempts for the database connection set. The default is 0.
-retryConnect 30

Use Retry Connect Set Pause (-retryConnectPause) to control how long to wait between retry attempts.

Note: Connection Retry Attempts (-ct) is a database connection parameter that controls how many times to retry connecting to a database. When used with a database that is specifying -dbalt1 or -dbalt2, OpenEdge tries each database in the set according to the -ct setting (default is 50 times), before attempting the next alternate. You may want to set this to 0, or to a lower value, if also using Retry Connect Set (-retryConnect).

For more information, see Learn about automatic database reconnect.