Can we have compound SQLs in cobol370 and DB2 V 6.1 . Something like :-
EXEC SQL BEGIN COMPOUND ATOMIC STATIC
INSERT INTO SPEC_INSTR (INSTR_CDE,INSTR_DESC)
VALUES (2001,'TEST ONE');
INSERT INTO SPEC_INSTR (INSTR_CDE,INSTR_DESC)
VALUES (2002,'TEST TWO');
INSERT INTO SPEC_INSTR (INSTR_CDE,INSTR_DESC)
VALUES (2003,'TEST THREE');
INSERT INTO SPEC_INSTR (INSTR_CDE,INSTR_DESC)
VALUES (2004,'TEST FOUR');
INSERT INTO SPEC_INSTR (INSTR_CDE,INSTR_DESC)
VALUES (2005,'TEST FIVE');
INSERT INTO SPEC_INSTR (INSTR_CDE,INSTR_DESC)
VALUES (2006,'TEST SIX');
END COMPOUND.
EXEC SQL BEGIN COMPOUND ATOMIC STATIC
INSERT INTO SPEC_INSTR (INSTR_CDE,INSTR_DESC)
VALUES (2001,'TEST ONE');
INSERT INTO SPEC_INSTR (INSTR_CDE,INSTR_DESC)
VALUES (2002,'TEST TWO');
INSERT INTO SPEC_INSTR (INSTR_CDE,INSTR_DESC)
VALUES (2003,'TEST THREE');
INSERT INTO SPEC_INSTR (INSTR_CDE,INSTR_DESC)
VALUES (2004,'TEST FOUR');
INSERT INTO SPEC_INSTR (INSTR_CDE,INSTR_DESC)
VALUES (2005,'TEST FIVE');
INSERT INTO SPEC_INSTR (INSTR_CDE,INSTR_DESC)
VALUES (2006,'TEST SIX');
END COMPOUND.