Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

SQLCODE -30090 When again processing Para-1

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: SQLCODE -30090 When again processing Para-1
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: 757
Location: Germany

PostPosted: Tue Jul 03, 2007 2:20 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts processing a XML file in PL/1 grvtomar PL/I & Assembler 2 Fri Jun 09, 2017 1:07 pm
No new posts File processing vishwakotin Mainframe Interview Questions 14 Fri Apr 28, 2017 11:38 am
No new posts Asynchronous CICS Processing Question moezbud CICS 1 Mon Mar 06, 2017 6:13 pm
No new posts DB2 SQL Error: SQLCODE=-440, SQLSTATE... kishpra DB2 1 Sat Feb 18, 2017 2:31 am
No new posts Run stats processing on zIIP Engine Virendra Shambharkar DB2 9 Fri Oct 14, 2016 10:24 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us