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

Session Temporary Table.


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

New User


Joined: 06 Nov 2013
Posts: 2
Location: USA

PostPosted: Wed Nov 06, 2013 2:59 am
Reply with quote

Hi,

We have an application where Java Client is calling a COBOL SP. This SP will update the data passed from Java in DB2 tables and will also extract other referenced data for the given input and store it in a session table.

Once the update for 1000 records is done control goes back to Java Client which does the COMMIT and control comes back to the SP again. My question is, will the data in session table be lost when the control comes back to SP, because of COMMIT. We do have an option of ON COMMIT PRESERVE ROWS while creating the session table but that is something which is not advisable in my organization.

If anyone can help me providing an alternate structure or answer to my question, that will ne a great help.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Sun Nov 10, 2013 10:57 pm
Reply with quote

Java Client CALLing a COBOL SP.

this is not very definitive.

is the JAVA and the SP on the same platform.

Session table... is it really the same 'session' - first CALL and second CALL?
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
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Check data with Exception Table DB2 0
No new posts Dynamically pass table name to a sele... DB2 2
Search our Forums:

Back to Top