9.4 How to Run Oracle Procedure from TI
Posted: Thu Nov 12, 2009 6:11 pm
Sorry in inconvience board but the support or lack of from IBM is killing me!
I am trying to run an Oracle Prodedure using a TI process. This procedure runs fine for Oracle and last step in completing my application.
1) I tried running as an ODBC with the following query:
BEGIN
{SERVER}.POPULATE_LSM2;
COMMIT;
END;
2) Tried the following two methods using TI None method:
a. ODBCOpen('Server','User','password');
ODBCOutput('Server','EXECUTE POPULATE_LSM2;');
ODBCClose('Server');
b. vSql = 'EXECUTE populate_lsm2';
ODBCOpen('Server','User','password');
ODBCOutput('Server',vSql);
ODBCClose('Server');
As always, any insight or advice would be appreciated.
I am trying to run an Oracle Prodedure using a TI process. This procedure runs fine for Oracle and last step in completing my application.
1) I tried running as an ODBC with the following query:
BEGIN
{SERVER}.POPULATE_LSM2;
COMMIT;
END;
2) Tried the following two methods using TI None method:
a. ODBCOpen('Server','User','password');
ODBCOutput('Server','EXECUTE POPULATE_LSM2;');
ODBCClose('Server');
b. vSql = 'EXECUTE populate_lsm2';
ODBCOpen('Server','User','password');
ODBCOutput('Server',vSql);
ODBCClose('Server');
As always, any insight or advice would be appreciated.