CLI2EXITLVL Environment Variable - Call-Level Interface Version 2

Teradata® Call-Level Interface Version 2 Reference for Workstation-Attached Systems

Product
Call-Level Interface Version 2
Release Number
17.10
Published
October 2021
Language
English (United States)
Last Update
2021-11-02
dita:mapPath
ttt1608578409164.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2418
lifecycle
previous
Product Category
Teradata Tools and Utilities
Set the CLI2EXITLVL environment variable to 1 or 2 to correspond with Level 1 or Level 2 exit routines. CLI decides which Level exits to call based on the following factors:
  • Functions not found – If the variable is set to 1 or 2 when the corresponding user exit functions are not found in the library, CLI returns error TDUSRLOADERR(530).
  • Variable not set – If the variable is not set, CLI attempts to load the user exit library and symbols, giving preference first to Level 2 functions, then to Level 1 functions. If the variable is not set and no functions are found, the exits are disabled, and CLI returns no error.
  • Invalid value – If the variable is set to a value other than 1 or 2, user exits are disabled.