Exception Conditions - Preprocessor2 for Embedded SQL

Teradata Preprocessor2 for Embedded SQL Programmer Guide

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

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.