Exception Conditions - Preprocessor2 for Embedded SQL

Teradata Preprocessor2 for Embedded SQL Programmer Guide

Product
Preprocessor2 for Embedded SQL
Release Number
15.00
Language
English (United States)
Last Update
2018-09-27
dita:id
B035-2446
lifecycle
previous
Product Category
Teradata Tools and Utilities

Exception Conditions

 

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 the following actions results:

 

Action Logic

Description of Processing

CONTINUE

The next executable statement in the application program is processed (that is, the exception condition is ignored).

GOTO host label

Processing continues at the specified location.

CALL function call

The specified function call is performed.