HCOSS provides DSNTIAR and DSNTIAC facilities you can call from your program that emulate those available on the mainframe. These HCOSS facilities enable you convert your SQL run-time return codes into character string messages.