Hi,
if you would like to insert snapshot data into table, I suggest to use snapshot monitor, like "insert into ... select snapshot_table..."
Detailed instructions:
1. create table:
CREATE TABLE admin.my_snapshot_table AS (select * from table (SNAPSHOT_TABLE('sample', -1)) as T") DEFINITION ONLY
Note: replace 'sample' with you database name.
2. insert snapshot data in table:
insert into admin.my_snapshot_table select * from table (SNAPSHOT_TABLE('sample', -1)) as T
Note: replace 'sample' with you database name.
3. select snapshot data:
select * from admin.my_snaphsot_table
4. You need to write batch file where step 2 command is used and then schedule the batch at regular interval.
If you need more info read:
SQL access to DB2 monitoring data
Regards