IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SQLCODE -30090 When again processing Para-1


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kgumraj

Active User


Joined: 01 May 2006
Posts: 151
Location: Hyderabad

PostPosted: Tue Jul 03, 2007 12:39 pm
Reply with quote

Hello,

I have Commit and rollback logic like this.

Code:
Para-1.
Insert table-A
     add 1 to counter
Insert table-A
     add 1 to counter.

if counter = 2
   perform para-2.

Para-2.
   exec sql commit.
   move zero to counter.


When again processing Para-1, we are getting SQLCODE -30090 error.
How can this be solved.

Quote:
FYI: We are accessing remote database
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Tue Jul 03, 2007 2:20 pm
Reply with quote

Hi !

Does this has something to do with the point, that DB2 UDB does not support 2 phase commit over TCPIP ???

If yes, DB2DRDA1READONLY=NO for UDB

Attention: IBM declared: to use only at your own risk !!!

Read more at IBM on the web !!!

Regards, UmeySan
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
This topic is locked: you cannot edit posts or make replies. Programa para Realiza Operaciones sob... JCL & VSAM 3
No new posts data moved using MVI on para-name. PL/I & Assembler 4
No new posts SQLCODE = -122 while using the scalar... DB2 4
No new posts SQLCODE = -16002 when using XMLEXISTS DB2 1
No new posts icetool empty file and not empty file... DFSORT/ICETOOL 5
Search our Forums:

Back to Top