What is the scope of a BEGIN or an implicit transaction in ECPG? Is it a
physical subroutine, or can it span functions containing EXEC SQL
statements?
For example, if I have:
void a (xxx)
{
EXEC SQL SELECT ... for UPDATE;
EXEC SQL UPDATE ...
}
void b (xxx)
{
EXEC SQL begin;
a(xxxx);
a(yyyy);
EXEC SQL COMMIT;
}
Do the multiple calls to 'a' remain in the same transaction?
Wes