Using IFI from stored procedures
You can use the IFI interface from a stored procedure, and the output of the trace can be returned to the client.
About this task
You can also issue Db2 commands,
such as DISPLAY THREAD
, from a stored procedure and return
the results to the client.