Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts SQLCODE 518 while executing DB2 module. abdulrafi DB2 8 Wed Feb 07, 2018 10:46 am
No new posts SQLCODE=100 and SQLSTAE 02000 pshongal DB2 12 Fri Jan 19, 2018 10:14 am
No new posts Where to get sample for processing RM... vice_versa PL/I & Assembler 2 Tue Jan 16, 2018 2:03 pm
No new posts COB2 file processing rizwanaccy COBOL Programming 8 Tue Jan 02, 2018 1:00 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us