I am looking for a IBM DB2 supplied batch program that can execute insert and update statements. This program should not commit untill all the sql statements given in the Input card gets executed successfully. Suppose if my card has
Code:
INSERT INTO TABLE1 ...;
UPDATE TABLE ...;
if INSERT executes successfully and UPDATE fails then the INSERT should not be committed. Is there any utility program that can accomplish this?