16.20 - DBCHCL Functions - Teradata Tools and Utilities

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

Teradata Tools and Utilities
September 2019
Programming Reference

This section describes the DBCHCL functions listed below.

Function Name Description
CON Connect
RSUP RunStartUp Request
IRQ Initiate Request
IWPF Initiate With Protocol-function
CRQ Continue Request
CMD Command
ABT Abort
FET Fetch
REW Rewind and Fetch
ERQ End Request
DSC Disconnect

General Notes

For each function, there is a list of the required and optional input and output arguments and a general description of how DBCHCL processes the function.

The interpretation of some of the arguments may depend on the setting of the DBCAREA options (for more information, see Setting DBCAREA Options.

For instance, input/output string pointers may be variable strings. For output strings, DBCHCL will provide an address and length if Locate-mode is in effect; otherwise, DBCHCL expects that the application has set the address of the area to which DBCHCL is to move the string.

If DBCHCL detects an error while processing, various fields will be set to help the user interpret and handle the error.