It is always interesting to have a tool to track errors in sql, because :
- An application error can happen and nothing is seen in MSTR, DBM1 ..
- Optimize your code as unnecessary and repeated errors is waste of CPU
We had Apptune , but it was disabled to save some CPU consumption.
So i decided to write this Rexx to do exactly what Apptune does : Start a trace and then IFI Read from Opx buffers.
Update 27/05/2020 :
Follow this link to get the Rexx code to read IFCID 0053
https://github.com/ndt98/Db2z/blob/master/ifc053.rex