Call-Level Interface (CLI) in a Teradata System - Teradata Director Program

Teradata Director Program Reference

Product
Teradata Director Program
Release Number
15.00
Language
English (United States)
Last Update
2018-09-28
dita:id
B035-2416
lifecycle
previous
Product Category
Teradata Tools and Utilities

Call-Level Interface (CLI) in a Teradata System

CLI provides the interface for mainframe applications to communication with one or more Teradata Databases. CLI is a set of subroutines that are called by an application, so CLI executes in the application's address space or virtual machine. Under MVS, applications running as IBM CICS or IBM IMS transactions are also supported by CLI.

Applications written in Assembler, PL/I, COBOL, C, C++, or other languages that have a CALL-type statement and use standard operating system linkage conventions (such as FORTRAN or PASCAL) call CLI routines directly. After the program is compiled, a CLI stub is included and a load module is created. When the application calls a CLI routine, the CLI stub dynamically loads the CLI runtime, which sends the request to or receives a response from TDP.

The current application programming interface is provided by a CLI known as CLIv2. While an older version exists, it is deprecated for new application development. For complete information about CLIv2, refer to Teradata Call-Level Interface Version 2 Reference for Mainframe-Attached Systems (B035-2417).