All,
I need to connect to two different db2 databases in a single pro*C application
For eg:
int main {
exec sql connect to X;
select a into valA from X.tableA;
{
do some caluculations with valA
}
exec sql connect to Y;
insert into Y.tableB values (valA);
terminate;
}
Any suggestions
Thanks in advance
logic4fun
I need to connect to two different db2 databases in a single pro*C application
For eg:
int main {
exec sql connect to X;
select a into valA from X.tableA;
{
do some caluculations with valA
}
exec sql connect to Y;
insert into Y.tableB values (valA);
terminate;
}
Any suggestions
Thanks in advance
logic4fun