Preparation 
  Compile db2perf_procevmon
    UNIX: 	cc -o db2perf_procevmon db2perf_procevmon.c -I$DB2PATH/include -L$DB2PATH/lib -l db2
    Windows:	cl db2perf_procevmon.c
		rem %INCLUDE%, etc., must point to DB2 path
  Capture statement event monitor output
    db2 create event monitor e for statements rite to file '/tmp'
    db2 set event monitor e state=1
    <execute your workload>
    db2 set event monitor e state=0
    db2evmon -path /tmp > db2evmon.out

Use
  Run db2perf_procevmon 
    db2perf_procevmon <output file from db2evmon> <DEL file for statements> [ <DEL file for subsections> ]
    for example 
      db2perf_procevmon db2evmon.out stmt_evt.del
  Create the tables to hold the statement / subsection data
    db2 connect to <dbname>	
    db2 -tvf db2perf_procevmon.db2
  LOAD / IMPORT the event monitor data into DB2 from the DEL file(s)
    db2 load from <DEL file for statements> of DEL replace into db2perf_evmon
    db2 load from <DEL file for subsections> of DEL replace into db2perf_evmon_subsect

For more information, see db2perf.pdf
