| Setting | Resulting Condition |
|---|---|
| SQLWARN0 field in the SQLCA is W or SQLCODE > 0 | SQLWARNING |
| SQLCODE field in the SQLCA is < 0 | SQLERROR |
| SQLCODE field in the SQLCA is +100 | NOTFOUND |
For any condition, one of four actions can be taken:
| Action Logic | Description of Processing |
|---|---|
| CONTINUE | The next executable statement in the application program is performed (that is, the exception condition is ignored). |
| GOTO host-label | Processing continues at the specified location. |
| PERFORM code | The specified PERFORM statement is processed. |
| CALL function call | A call is made to the specified CALL statement. |