View previous topic :: View next topic
|
Author |
Message |
AnuB Currently Banned New User
Joined: 29 Aug 2005 Posts: 33
|
|
|
|
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 |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
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 |
|
|
krishnaiahc
New User
Joined: 31 Aug 2005 Posts: 21
|
|
|
|
Hai,
Automately Commit the database before termate the program.
Thanks,
Krishna. |
|
Back to top |
|
|
dewrid
New User
Joined: 28 Oct 2005 Posts: 4
|
|
|
|
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 |
|
|
|