15.10 - Exception Conditions - Preprocessor2 for Embedded SQL

Teradata Preprocessor2 for Embedded SQL Programmer Guide

prodname
Preprocessor2 for Embedded SQL
vrm_release
15.10
category
Programming Reference
featnum
B035-2446-035K
 

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.