Initializing DBCAREA - Teradata Tools and Utilities

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

Product
Teradata Tools and Utilities
Release Number
17.00
Published
June 2020
Language
English (United States)
Last Update
2020-06-18
dita:mapPath
lvt1544831946862.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2417
lifecycle
previous
Product Category
Teradata Tools and Utilities

After it is allocated, the DBCAREA must be initialized before a call to CLIv2 requesting CLIv2 services can be attempted. The application initializes the DBCAREA by putting the total length of the DBCAREA into the DBCAREA Total-length field of the structure and calling DBCHINI (see Common Routines for a description of the call to DBCHINI).

Return Code Result
0 DBCHINI completed successfully and DBCAREA can be used to communicate with CLIv2.
anything else a major system error occurred and the application cannot communicate with CLIv2.