ANSI-Compatible Mode Communications Variables - 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

ANSI-Compatible Mode Communications Variables

When writing PL/I programs for ANSI-compatible mode, define a SQLCODE variable. Defining a SQLSTATE variable is optional. If both variables are defined, each contains valid error codes.

SQLSTATE and SQLCODE are documented in SQL Stored Procedures and Embedded SQL (B035‑1148).