Hi,
Maybe I didnt percieve ur requirement ..

.. I'll just iterate what i understand .
"1. transaction table contains many values in col1 -dynamic.
2. transaction table contains col2 - from master table
3. master table contains 9 records in col1
4. transaction table has col2 which MAY OR MAY NOT have all the combination of each of transaction.col1 with a value of master.col1
Requirement: transaction table needs to be updated with the combination of each transaction.col1 along with each of master.col1
..
am I right in the above?
If yes read the following , if not corect then I'd require hmmm a little more detail
Currently the transaction table has any combinations (tarnsaction.col1 along with master.col2) and to push in the missing combinations, the method I described below should work.
The temp table (using the query in step 2) will contain all the possible combinations (including the ones already exisiting in the transaction table). When you import it Using your db2 control center or clp then the rows which are already exisitng would be rejected due to the constraint as described in step 3 As a result, all the missing entries will be inserted.
But if you need to run it as a regular job, then maybe you could do it with a combination of a OS cron job (which imports into transaction table from a specific file generated by a stored procedure (which populates the temp_table and exports the ixf file)
regards
brat.