Previous Topic: Source CodeNext Topic: Arguments


Purpose

The TIRFAIL subroutine of the Dialog Manager calls the DB2 Message exit, TIRTIARX, whenever an unrecoverable DB2 failure occurs. TIRTIARX then calls the subroutine DSNTIAR to convert the SQL code into text. The messages returned by DSNTIAR are then merged with the runtime error messages.

TIRTIARX exit must be a DLL in order to be invoked by Gen applications, even by those using Compatibility option. DSNTIAR and DSNTIAC are provided by IBM as non-DLL modules. Therefore they need to be invoked by via TIRLGLOD.