Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Is it required to do a commit for retreival program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IDMS/ADSO
Author Message
vickyarora81

New User


Joined: 20 Feb 2006
Posts: 4

PostPosted: Tue Jan 16, 2007 5:48 pm    Post subject: Is it required to do a commit for retreival program
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
References
PostPosted: Tue Jan 16, 2007 5:48 pm    Post subject: Re: Is it required to do a commit for retreival program Reply with quote

William Thompson

Global Moderator


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

PostPosted: Tue Jan 16, 2007 5:53 pm    Post subject:
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    Post subject:
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: 2975
Location: Tucson AZ

PostPosted: Tue Jan 16, 2007 6:33 pm    Post subject:
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    Post subject: Re: Is it required to do a commit for retreival program
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    Post subject: Re: Is it required to do a commit for retreival program
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IDMS/ADSO All times are GMT + 6 Hours
Page 1 of 1