IBM Support

Add the HOSTVAR parameter to the STRDBMON command

News


Abstract

The Start Database Monitor (STRDBMON) command has been enhanced to include the Host Variable (HOSTVAR) parameter.

Content

The Start Database Monitor (STRDBMON) command has been enhanced to include the Host Variable (HOSTVAR) parameter.

You can specify three values on the HOSTVAR parameter:

  1. *BASIC (default): The behavior of the database monitor is unchanged. Host variable values are collected in the 3010 record.
  2. *SECURE: No host variable values are collected. No 3010 records are written. Therefore, statements with host variables or parameter markers cannot be fully reconstructed from the monitor output.
  3. *CONDENSED: No 3010 records are written. Host variable values are captured in the QQDBCLOB1 column of the 1000 record for the statement to which they belong. Because the database monitor does not write the 3010 records, it is more efficient and requires fewer system resources.

The host variable enhancement is also available to users of IBM i Navigator. When the Host variable values control is unchecked, *BASIC is used.

image-20200115152446-1

{ "data": [ { "Article Type":"News (DB600)", "Category":"IBM i Db2", "ARM Category":"IBM i Db2->DBMon - Database Monitor / Plan Cache", "Keywords":"STRDBMON; HOSTVAR; database monitor; host variables; *BASIC; *SECURE; *CONDENSED; 3010 record; QQDBCLOB1; IBM i Navigator; Db2 for i; SQL; performance; IBM i", "Predicate":"PROACTIVE", "Classifier":"TUNE" } ] }

[{"Type":"MASTER","Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000001i6VAAQ","label":"IBM i Db2-\u003EDBMon - Database Monitor \/ Plan Cache"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"6.1.0;7.1.0;7.2.0;7.3.0;7.4.0;7.5.0;7.6.0"}]

Document Information

Modified date:
22 November 2026

UID

ibm11167244