< Previous | Next >

Process events to exercise the model

After deploying the monitor model, you can run some events to verify that the monitor model works correctly.

  1. Open a DB2 command window. Then run the following commands:
    db2 connect to ADAPTER user db2admin using <db2admin password>
    
    db2 insert into customer values ('3', 'Michael', 'Davis', 'Regular')
    
    db2 insert into customer values ('4', 'Paul', 'Smith', 'Silver')
    
    db2 insert into customer values ('5', 'Joe', 'Williams', 'Gold')
    
    db2 insert into customer values ('6', 'Daniel', 'Johnson', 'Regular')
    
    db2 insert into customer values ('7', 'Tim', 'Ross', 'Gold')
    
    db2 disconnect ADAPTER
  2. Wait briefly so that the monitor model can process the generated events.
< Previous | Next >