If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
You could write a UDF or stored procedure with LANGUAGE C. Inside the routine, I would open a simple pipe (see "man popen") to invoke "db2diag" with the desired options and get its output.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development