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
 
Is it required to do a commit for retreival program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IDMS/ADSO
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    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

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
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: 3158
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IDMS/ADSO All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How do you attach a DB2 plan to a CIC... John Poulakos DB2 0 Wed Apr 18, 2018 1:49 am
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts Mantis Program Compiled? luis carlos CICS 2 Sat Apr 07, 2018 8:59 pm
No new posts Undefined Report Program socker_dad COBOL Programming 2 Fri Mar 30, 2018 1:45 am
No new posts java.io.FileNotFoundException - passi... Virendra Shambharkar Java & MQSeries 5 Mon Feb 26, 2018 11:41 am

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