View previous topic :: View next topic
|
Author |
Message |
shanbalasay
New User
Joined: 22 May 2007 Posts: 19 Location: Belfast, UK
|
|
|
|
When an IDMS program after executing set of STORE Commands abend, will the STORE commands been committed or all the STORE commands been ROLL BACKed ?
Note : There are no COMMIT / ROLL BACK commands in the program |
|
Back to top |
|
|
cvadlamudi
New User
Joined: 19 Apr 2007 Posts: 68 Location: India
|
|
|
|
Hi Bala,
All the STORE commands will be ROLLED BACK.
Default ROLLBACK will be take place after ABNORMAL Termination.
Regards,
Chandramouli |
|
Back to top |
|
|
shanbalasay
New User
Joined: 22 May 2007 Posts: 19 Location: Belfast, UK
|
|
|
|
Hi Chandramouli,
Thanks for your reply.
Your answer is justifiable from the usage of Recovery Techniques implemented widely in IDMS Programs one of which is as below.
Executing a COMMIT statement after processing every certain number of records and displaying the Total Record# processed & records information consecutively. This logic would help in recovery in case IDMS Programs abend after processing certain records. The programmer would come to know how many records were processed and which are all the records that are to be included as part of the recovery. |
|
Back to top |
|
|
arnab
New User
Joined: 13 Mar 2006 Posts: 59 Location: UK
|
|
|
|
Hi,
I would like to add that..
if the program runs in local mode(offline) all the changes before a commit will also be saved. If it runs in CV mode(online) all uncommitted changes will be rolled back..
thanks,
Arnab |
|
Back to top |
|
|
shanbalasay
New User
Joined: 22 May 2007 Posts: 19 Location: Belfast, UK
|
|
|
|
Hi Arnab,
Can you please explain to me what is Local Mode (Offline) & CV Mode (Online).
Thanks |
|
Back to top |
|
|
|