Previous Topic: Source CodeNext Topic: Arguments


Purpose

The DB2 Message Exit is used by all applications targeting DB2 database on z/OS. 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 can be customized to statically link DSNTIAR with the executable load module rather than dynamically linking it.