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
 

 

Updating records without commit.

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

New User


Joined: 29 Aug 2005
Posts: 35

PostPosted: Fri Sep 30, 2005 1:39 pm    Post subject: Updating records without commit.
Reply with quote

Hi,

In a COBOl-DB2 program /application , suppose one wants to update some records one after other without commit then what option has to be used there ?

Regards,
Anu.
Back to top
View user's profile Send private message

Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Fri Sep 30, 2005 3:12 pm    Post subject: Re: Updating records without commit.
Reply with quote

Hi,

Quote:
In a COBOl-DB2 program /application , suppose one wants to update some records one after other without commit then what option has to be used there
?

If I am recalling you correctly then you want to update recorde withiout using commit command.

Yes, Its possible. Whenever you donot mention Commit in your CObol program. It automatically save the updated records.


Hope this helps

Regards
Rupesh
Back to top
View user's profile Send private message
krishnaiahc

New User


Joined: 31 Aug 2005
Posts: 21

PostPosted: Fri Oct 28, 2005 6:40 am    Post subject:
Reply with quote

Hai,

Automately Commit the database before termate the program.

Thanks,
Krishna.
Back to top
View user's profile Send private message
dewrid

New User


Joined: 28 Oct 2005
Posts: 4

PostPosted: Mon Oct 31, 2005 3:22 pm    Post subject:
Reply with quote

If you dont issue an explicit COMMIT, then all changes made by the program are committed after the job terminates successfully. If the job abends, then the changes are rolled back.
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 Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts Join giving more records than expected Danielle.Filteau SYNCSORT 2 Thu Mar 09, 2017 3:28 am
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Extract set of records matching on ac... bhaskar_kanteti DFSORT/ICETOOL 3 Mon Mar 06, 2017 7:19 am


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