Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ 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
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 Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us