How to report on dynamic and static SQL history in Sysview for DB2


Article ID: 132160


Updated On:


CA Bind Analyzer for DB2 for z/OS CA SQL-Ease for DB2 for z/OS CA Sysview Performance Management Option for DB2 for z/OS CA Plan Analyzer for DB2 for z/OS CA Subsystem Analyzer for DB2 for z/OS


In Sysview for DB2, dynamic and static SQL data collection is active ( IFCID 1041, 1043 and IQL-IFCID400 = YES). How can we report on this?   


Component: IDB2


With the collection of fcids 316, 317 and 401 enabled, and HIST-STAT-RECS having 316 and 401 specified, the unload process of the history files (UNLDTYP=ALL), will contain the SQL data for subsequent processing. The Batch Report Writer process can be used to report on this unloaded data (look at batch reports starting with BTDSQ* and BTSSQ*).