Using the Teradata Call-Level Interface Version 2 Reference for Mainframe-Attached Systems Content
This guide provides information about Teradata® Call-Level Interface Version 2 for Mainframe-Attached Systems (CLIv2), which is a Teradata Tools and Utilities product. CLIv2 is a library of routines that enable an application program to access data on an Analytics Database.
Why Would I Use this Content?
- If you are a system or application programmer, use this content for writing programs to access data on the Analytics Database.
- If you are a system or database administrator, use this content for managing and troubleshooting the application.
How Do I Use this Content?
Use this guide to learn about:
- Overview of CLIv2, including prerequisites, architecture, and supported routines
- Interaction between the application and the Teradata server through CLI
- DBCAREA, a data structure shared by the application program and CLI
- CLI routines including description, parameters, and usage notes
- Request buffers, response buffers, Teradata SQL response sequences, and parcel structure
- Error and failure codes
- Ways to handle crashes if a TDP crashes
- Codepage details that can be used when communicating with Vantage
- Customer-defined character set details such as purpose, syntax, and usage note
- Message definitions
- Parcel structure, type, and description for basic and advanced applications
- Structure of parcel header and body
- Details on stored executable procedures in the database
- Resolver Base Module (RBM) resolution of in-doubt two-phase commit requests that have in-doubt Teradata transactions
- Two-phase commit protocol and in-doubt resolution
How Do I Get Started?
- Start with the Overview section if you are new to CLIv2 or want to learn about the supported data structures or routines.
- Start with the Error and Failure Codes section if you are an administrator and want to manage CLIv2.