Product Documentation

FairCom RTG COBOL User Guide

Previous Topic

Next Topic

ACUCOBOL API for SQL Conversion Error Checking

It is possible to programmatically check if there will be any conversion errors accessing a table from SQL. Three functions, exported by mtclient.dll, provide functionality to verify if a record buffer will generate any conversion error when accessed through SQL.

This checking capability requires an XDD file. It verifies if a record buffer generates any errors when converted into SQL. It considers all the error handling specified in the XDD (as opposed to the SQL "badrec" approach that logs any error, even the ones that are handled).

In This Section

SQL Conversion for ACUCOBOL Users

ct_XDDOpen

ct_XDDCheck

ct_XDDClose

XDDCHECK Errors

Enabling XDDOPEN, XDDCHECK, and XDDCLOSE for Programmatic SQL Conversion Error Checking

TOCIndex