Problem Determination APIs

The problem determination APIs are:

Note: These functions use header (include) files from the library QSYSINC, which is optionally installable. Make sure QSYSINC is installed on your system before using any of the functions. See Header Files for UNIX-Type Functions for the file and member name of each header file.

The problem determination APIs are intended to be used as an aid in debugging exception or error conditions in application programs. These functions should not be used in performance critical code.

These functions can be used during application development, as well as after the application is made available, as debug mechanisms. For example, one of the following methods could be used:

Some of the problem determination functions dump or print to the user trace. The user trace is a permanent user space object named QP0Z<jobnumber> in the QUSRSYS library. The user trace is created the first time any thread in a job writes trace output. The following CL commands can be used to manipulate the user trace properties and objects:

For those problem determination functions that use the user trace, the following should be considered:


Top | UNIX-Type APIs | APIs by category