I am now working on the rollback features into my program.
I am facing a problem that if my program involve more than sub program, then the rollback seem is not works for the sub program if the failure is from the main program.
1) Program A is calling Program A-1.
2) Program A-1 is running successfully.
3) Program A is having failure on one of the file after calling Program A-1.
4) Rollback is rollback whatever save in Program A, but can the program A-1 data also be rollback when Program A fail.