# Client Connections retry settings

This page lists the recoverable errors for which Data Mover either performs an unlimited number of retry attempts or a specific number of retry attempts. This number is set in the **Max Retries** field of the Client Connection configuration.

All errors not listed on this page are considered fatal, the connection is not retried and the status is set to FAILED in Data Mover.

The recoverable error codes are divided into two groups based on how Data Mover handles them:

* Retry the connection without increasing the number of attempts.
* Retry the connection by increasing the number of attempts.

## Retry without increasing the number of attempts

With any of these error codes, Data Mover retries the connection without increasing the number of retries:

|                     |      |
| ------------------- | ---- |
| RC\_OBJECT\_IN\_USE | 2042 |
| RC\_FILE\_IN\_USE   | 5555 |
| RC\_NOT\_CONNECTED  | 9201 |

## Retry increasing the number of attempts

When one of these errors occurs, Data Mover will continue attempting to establish a connection, increasing the number of attempts, as long as attempts are available.

### PR4 Protocol

#### PRIMEUR SPAZIO Errors

|                                            |             |
| ------------------------------------------ | ----------- |
| RC\_CONNECTION\_BROKEN                     | 2009        |
| RC\_HCONN\_ERROR                           | 2018        |
| RC\_MAX\_CONNS\_LIMIT\_REACHED             | 2025        |
| RC\_OBJECT\_IN\_USE                        | 2042        |
| RC\_Q\_FULL                                | 2053        |
| RC\_Q\_MGR\_NOT\_AVAILABLE                 | 2059        |
| RC\_STORAGE\_NOT\_AVAILABLE                | 2071        |
| RC\_Q\_MGR\_QUIESCING                      | 2161        |
| RC\_Q\_MGR\_STOPPING                       | 2162        |
| RC\_Q\_MGR\_NOT\_ACTIVE                    | 2223        |
| RC\_POINTER\_QSET\_NOT\_DEFINED            | 3557        |
| RC\_DATA\_QSET\_NOT\_DEFINED               | 3558        |
| RC\_RST\_SESSION\_IN\_USE                  | 5101        |
| RC\_NULL\_BLOCK\_ERROR                     | 5520        |
| RC\_FILE\_IN\_USE                          | 5555        |
| RC\_MAX\_Q\_FILE\_DEPTH\_REACHED           | 5560        |
| RC\_TIME\_OUT                              | 5903        |
| RC\_SUSPENDED\_BY\_USER                    | 5904        |
| RC\_INTERRUPTED\_BY\_USER                  | 5909        |
| RANGE RC EQUIVALENT RC\_CONNECTION\_BROKEN | 9000 - 9999 |

#### PRIMEUR Data Mover Errors

|                                |      |
| ------------------------------ | ---- |
| RC\_MAX\_CONNS\_LIMIT\_REACHED | 2025 |
| RC\_RST\_SESSION\_IN\_USE      | 5101 |
| RC\_SUSPENDED\_BY\_USER        | 5904 |
| RC\_SHUTDOWN\_QM               | 9103 |
| RC\_COMMUNICATION\_SHUTDOWN    | 9157 |

### PR5 Protocol&#x20;

#### P**RIMEUR SPAZIO Errors**

|                                       |      |
| ------------------------------------- | ---- |
| RC\_CONNECTION\_BROKEN                | 2009 |
| RC\_HCONN\_ERROR                      | 2018 |
| RC\_MAX\_CONNS\_LIMIT\_REACHED        | 2025 |
| RC\_OBJECT\_IN\_USE                   | 2042 |
| RC\_Q\_FULL                           | 2053 |
| RC\_Q\_MGR\_NOT\_AVAILABLE            | 2059 |
| RC\_STORAGE\_NOT\_AVAILABLE           | 2071 |
| RC\_Q\_MGR\_QUIESCING                 | 2161 |
| RC\_Q\_MGR\_STOPPING                  | 2162 |
| RC\_Q\_MGR\_NOT\_ACTIVE               | 2223 |
| RC\_POINTER\_QSET\_NOT\_DEFINED       | 3557 |
| RC\_DATA\_QSET\_NOT\_DEFINED          | 3558 |
| RC\_RST\_SESSION\_IN\_USE             | 5101 |
| RC\_ACKQ\_FULL                        | 5252 |
| RC\_BLOCK\_OR\_DATA\_LENGTH\_ERR      | 5520 |
| RC\_FILE\_IN\_USE                     | 5555 |
| RC\_MAX\_Q\_FILE\_DEPTH\_REACHED      | 5560 |
| RC\_TIME\_OUT                         | 5903 |
| RC\_SUSPENDED\_BY\_USER               | 5904 |
| RC\_INTERRUPTED\_BY\_USER             | 5909 |
| RC\_Q\_MANAGER\_INITIALIZING          | 7950 |
| RC\_MEMORY\_NOT\_AVAILABLE            | 9015 |
| RC\_QSHUTDOWN\_SPAZIO                 | 9102 |
| RC\_QSHUTDOWN\_QM                     | 9103 |
| RC\_COMMUNICATION\_NOT\_ACTIVE        | 9150 |
| RC\_COMMUNICATION\_ERROR              | 9151 |
| RC\_COMMUNICATION\_INTERNAL\_ERROR    | 9152 |
| RC\_COMMUNICATION\_TIMEOUT            | 9153 |
| RC\_COMMUNICATION\_LINE\_BUSY         | 9154 |
| RC\_COMMUNICATION\_NO\_TRANS\_AVAIL   | 9155 |
| RC\_COMMUNICATION\_NO\_LINE\_AVAIL    | 9156 |
| RC\_COMMUNICATION\_SHUTDOWN           | 9157 |
| RC\_COMMUNICATION\_PARAM\_ERROR       | 9158 |
| RC\_COMMUNICATION\_REM\_TRANS\_FAILED | 9160 |
| RC\_SPAM\_ERROR                       | 9200 |
| RC\_NOT\_CONNECTED                    | 9201 |
| RC\_SROPEN\_FAILED                    | 9202 |
| RC\_SECODARY\_QM\_REMOTE              | 9220 |

#### P**RIMEUR Data Mover Errors**

|                                       |      |
| ------------------------------------- | ---- |
| RC\_MAX\_CONNS\_LIMIT\_REACHED        | 2025 |
| RC\_RST\_SESSION\_IN\_USE             | 5101 |
| RC\_FILE\_IN\_USE                     | 5555 |
| RC\_SUSPENDED\_BY\_USER               | 5904 |
| RC\_MEMORY\_NOT\_AVAILABLE            | 9015 |
| RC\_QSHUTDOWN\_QM                     | 9103 |
| RC\_COMMUNICATION\_ERROR              | 9151 |
| RC\_COMMUNICATION\_REM\_TRANS\_FAILED | 9160 |

### Exceptions for F**TP, FTPS and SFTP protocols**

If a line error occurs during the connection phase, the Re-trying status is set and multiple retries are performed.

In case of LS and MKDIR, the following exceptions apply:

* LS: if there are no files in the selected directory, no errors are generated and the operation terminates successfully.
* MKDIR: if the directory to create already exists, no error is generated and the operation terminates successfully.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.primeur.com/data-mover-1.21/transfer-protocols-and-connectors/client-connections/client-connections-retry-settings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
