There are two modes to execute a pl1 DB2 main program- one with TEST mode. In this case, for each input record db2 statements in the sub program are executed as usual, but before completing the execution of single input processing Roll back is executed. Normal run COMMIT is being used instead of Rollback.
TEST mode - Rollback after each input processing
Normal mode - Commit after each input processing
Q. If I use TEST mode, Is there any deviation in execution time as that of normal mode(COMMIT)? I would like to execute the code in TEST mode, but still i need to measure the execution time of each input record as that in Normal mode. Is this possible? DB2 server is on linux machine.