Mapping CLI Codes to SQLCODE Values | Teradata Vantage - Mapping CLI Codes to SQLCODE Values - Advanced SQL Engine - Teradata Database

SQL Stored Procedures and Embedded SQL

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
xqq1557098602407.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1148
lifecycle
previous
Product Category
Teradata Vantage™

If the error is generated by CLI, SQLCODE is set to CLI error code + 10000.

The only two exceptions are CLI 214 and 304. These two codes are mapped to 
-740 for the workstation platforms (Linux).