IBM Support

STRDBMON pre-filtering of QUERY/400 command use

News


Abstract

STRDBMON pre-filtering of QUERY/400 command use

Content

You are in: IBM i Technology Updates > Db2 for i - Technology UpdatesDb2 for i Database Engineer (DBE) Enhancements > STRDBMON pre-filtering of QUERY/400 command use
QUERY/400 commands Run Query (RUNQRY), Work With Queries (WRKQRY) and Start Query (STRQRY) already generate database monitor records. This enhancement delivers a method to easily identify Query/400 users and the queries executed via the Filter by Client Program database monitor pre-filter.

STRQRY and WRKQRY activity will appear shown in table 1.
 

Table 1. STRQRY and WRKQRY commands:

QQC21 QQ1000
QR QUERY/400 SYSIBM/SYSDUMMY1.SYSDUMMY1
QR QUERY/400 QSYS2/QSQPTABL.QSQPTAB
 
RUNQRY activity will appear shown in table 2.
 

Table 2. RUNQRY command:

QQC21 QQ1000
QR RUNQRY SCOTTF/QUERY1
QR RUNQRY SCOTTF/QUERY2
IBM i 6.1 Example:
STRDBMON OUTFILE(QGPL/QRY400mon)
JOB(*ALL)
COMMENT('FTRCLTPGM(RUNQRY)')
IBM i 7.1 Example:
STRDBMON OUTFILE(QGPL/QRY400mon)
JOB(*ALL)
FTRCLTPGM(RUNQRY)
Figure 1. Example output from Database Monitor with Query/400 command filtering
image-20200117132234-1

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Component":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
11 April 2021

UID

ibm11169044