Rdb on OpenVMS, IBM zSeries and Oracle on OpenVMS (MOSC)

MOSC Banner

RDBPROD: Problem with rdb 7.3, not with 7.2 or earlier while doing insert

edited Nov 12, 2014 10:01AM in Rdb on OpenVMS, IBM zSeries and Oracle on OpenVMS (MOSC) 1 commentAnswered

Get the following statements returned under Rdb 7.3.1 (on Itanium ) from our "C" program doing an insert....program is accessing two databases.....one is read only, and the other is one we use is read/write. Error seems to occur during an insert into the second database. Both databases on same server.

Code statements causing error is as follows.......

EXEC SQL DECLARE ALIAS FILENAME ALI_RDB_DATABASE;

EXEC SQL DECLARE A1 ALIAS FILENAME ALI_DBTUNE_DB;

EXEC SQL DECLARE TRANSACTION on RDB$DBHANDLE USING (READ ONLY) and on A1 USING (READ WRITE);

Errors returned are......

CURSTMTTXN- cursor statement must be executed in the same transaction

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center