17.10 - 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
Release Date
October 2021
Content Type
Programming Reference
Publication ID
B035-2418-061K
Language
English (United States)
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.