Table 30. Class Code 51: Invalid Application State
| SQLSTATE Value |
Meaning |
|---|---|
| 51002 | The package corresponding to an SQL statement execution request was not found. |
| 51003 | Consistency tokens do not match. |
| 51004 | An address in the SQLDA is invalid. |
| 51005 | Thr previous system error has disabled this function. |
| 51008 | The release number of the precompiled program is not valid. |
| 51015 | An attempt was made to execute a section that was found to be in error at bind time. |
| 51017 | The user is not logged on. |
| 51021 | SQL statements cannot be executed until the application process executes a rollback operation. |
| 51022 | A CONNECT that specifies an authorization name is invalid when a connection (either current or dormant) already exists to the server named in that CONNECT statement. |
| 51023 | The database is already in use by another instance of the database manager. |
| 51024 | A view cannot be used, because it has been marked inoperative. |
| 51025 | An application in the XA transaction processing environment is not bound with SYNCPOINT TWOPHASE. |
| 51026 | An event monitor cannot be turned on, because its target path is already in use by another event monitor. |
| 51027 | The IMMEDIATE CHECKED option of the SET INTEGRITY statement is not valid since a table is not in the check-pending state. |
| 51028 | A package cannot be used, because it is marked inoperative. |
| 51030 | The procedure referenced in a ALLOCATE CURSOR, or an ASSOCIATE LOCATORS statement has not yet been called within the application process. |