Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
Session Temporary Table.

Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message

New User

Joined: 06 Nov 2013
Posts: 2
Location: USA

PostPosted: Wed Nov 06, 2013 2:59 am    Post subject: Session Temporary Table.
Reply with quote


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


Global Moderator

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

PostPosted: Sun Nov 10, 2013 10:57 pm    Post subject:
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    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 Modify the value of a extensionvariab... UmeySan CLIST & REXX 14 Wed Nov 14, 2018 11:48 pm
No new posts Get line number where cursor is from ... satish.ms10 CLIST & REXX 3 Wed Oct 24, 2018 12:23 am
No new posts Facing Issue in Table Reorg satish.ms10 DB2 1 Tue Aug 07, 2018 2:44 am
No new posts SQL IN predicate using COBOL table jerryte DB2 16 Fri Jun 29, 2018 10:30 pm
No new posts Extracting DDL for all list of intere... Ashishpanpaliya DB2 5 Mon May 21, 2018 4:08 pm

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