Skip to Main Content
IBM Power Ideas Portal


This portal is to open public enhancement requests against IBM Power Systems products, including IBM i. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Not under consideration
Workspace IBM i
Categories Db2 for i
Created by Guest
Created on Jul 4, 2019

DBMON filtering enchancement when apllying on a Table

When starting a DBMON and filtering on a Table basis, FTRFILE, we would like to be able to see all sql traffic against this table, (successful, warnings and erroneous).
Currently we are only able to see successfully executed sql statements.


Use Case:

You may use the following sql statements to recreate the issue.

1. Create the Table and Index
-- DDL for table T99ALNET
CREATE TABLE T99ALNET
(ALPHANET_ID DECIMAL (10, 0) NOT NULL WITH DEFAULT,
COD_PERSONA DECIMAL (9, 0) NOT NULL WITH DEFAULT,
DATE_TO DATE NOT NULL WITH DEFAULT,
TIMESTAMP_INS TIMESTAMP NOT NULL WITH DEFAULT,
IND_TIPO_PERSONA CHAR (1) NOT NULL WITH DEFAULT,
IND_ENOP CHAR (1) NOT NULL WITH DEFAULT,
ALPHANET_ENOP_NEW DECIMAL (10, 0) NOT NULL WITH DEFAULT
)
;

CREATE UNIQUE INDEX
SG0D2ALN ON T99ALNET
(ALPHANET_ID ASC ,
DATE_TO ASC ,
COD_PERSONA ASC ) ;

2. Start a DBMON filtering only on table T99ALNET

3. Execute the statements below via iACS "Run sql Scripts", These statements will return zero and non zero sql codes.

select * from pcbogdb2.t99alnet;

select * from pcbogdb2.t99alnet where date_to = '01.11.2012';

-- sqlcode -181 expected
select * from pcbogdb2.t99alnet where date_to = '31.04.2019';

-- sqlcode 0 on first excecution
insert into pcbogdb2.t99alnet values (1234,5678,'01.01.2019',current timestamp, 'I', 'O', '1');

-- sqlcode -803 on second excecution
insert into pcbogdb2.t99alnet values (1234,5678,'01.01.2019',current timestamp, 'I', 'O', '1');

-- sqlcode -181 expected
insert into pcbogdb2.t99alnet values (1234,5678,'31.04.2019',current timestamp, 'I', 'O', '1');

4. End DBMON and verify that only successfully executed sql statements are included at the results.


Idea priority Medium
  • Guest
    Reply
    |
    May 29, 2020

    IBM does not intend to provide a solution to this request at this time, so it is being closed. This request does not fit well in the existing DBMON infrastructure so it would be very expensive to implement.
    The IBM Security Guardium product satisfies the use case provided in this RFE. It catches successes and failures and can report on specific files. Resources for learning more about Guardium and Db2 for i can be found here: https://www.ibm.com/support/pages/node/1172518