DSNTIAR
You can use DSNTIAR in context with the Jopaz runtime to log or debug potential SQL errors. It is an assembler subroutine that should be included in the IBM Db2 installation.
DSNTIAR stands for Db2 Service for Text Interpretation and Reporting. It converts an SQLCA (SQL Communication Area) structure into a formatted error message in plain text.
The DSNTIAR load module is usually located in the main load module repository, SDSNLOAD.
The naming convention is typically DSN*.SDSNLOAD, where the asterisk (*) represents the Db2 version. For example, if you are using Db2 version 13, the load library could be named DSN1310.SDSNLOAD. However, this may vary depending on the system configuration. Ask your system administrator for the correct DSN.
If this load library is not defined as the default load library in your system, it must be explicitly specified in the Jopaz runtime execution job in the STEPLIB.