Initializing DBCAREA - Call-Level Interface Version 2

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

Product
Call-Level Interface Version 2
Release Number
15.00
Language
English (United States)
Last Update
2018-09-28
dita:id
B035-2417
lifecycle
previous
Product Category
Teradata Tools and Utilities

Initializing DBCAREA

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 Chapter 6: “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.