Guru: Application Tracing With The QTRC APIs
May 20, 2019 Dawn May
The IBM i operating system is extensively instrumented for diagnostic purposes to help IBM resolve issues should they arise. Instrumenting your application for diagnostics is also possible in a manner very similar to what IBM has done in the operating system.
STRTRC and the QTRC APIs
The operating system includes a trace facility called QTRC. This trace facility is a set of APIs (QTRC APIs) that allow you to instrument your application to collect trace data. This trace data can be whatever you may find helpful for debugging applications in a production environment, where using a debugger is …
Read more