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

Is it required to do a commit for retreival program


IBM Mainframe Forums -> IDMS/ADSO
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vickyarora81

New User


Joined: 20 Feb 2006
Posts: 4

PostPosted: Tue Jan 16, 2007 5:48 pm
Reply with quote

Hi,

I just wanted to do know whether commit is required for retreival only program and i am not using any obtain exclusive........
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue Jan 16, 2007 5:53 pm
Reply with quote

I don't know. I would think that if you read a row and then just waited for 12 or so hours doing nothing, that an update and commit to that row by another program might be hindered....maybe only if you had a cursor with CS or RR?

What say the DB2 gurus?
Back to top
View user's profile Send private message
vickyarora81

New User


Joined: 20 Feb 2006
Posts: 4

PostPosted: Tue Jan 16, 2007 6:26 pm
Reply with quote

Hi William,

Thanks for the reply but I asking in regard to IDMS.....
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue Jan 16, 2007 6:33 pm
Reply with quote

Good point, icon_redface.gif That's what I get for not looking at which forum the thread is in...... icon_sad.gif
Back to top
View user's profile Send private message
jeevankumar

New User


Joined: 06 Mar 2007
Posts: 2
Location: columbus oh

PostPosted: Wed Mar 07, 2007 12:55 am
Reply with quote

Hi,
Normally, the retrieval mode do not maintain area/record locks on the database. So 'commit' is not required for retrieval programs.

Please correct me if I am wrong.

Thanks
Back to top
View user's profile Send private message
tosaurabh20

New User


Joined: 08 Jun 2007
Posts: 26
Location: Noida

PostPosted: Thu Jun 21, 2007 3:29 pm
Reply with quote

jeevankumar wrote:
Hi,
Normally, the retrieval mode do not maintain area/record locks on the database. So 'commit' is not required for retrieval programs.

Please correct me if I am wrong.

Thanks


Hi Jeevan,

You are absolutely right, after retrieval there is no need of issuing a commit statement.

Thanks
Saurabh
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 -> IDMS/ADSO

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
Search our Forums:

Back to Top