How Commitment and Roll back control is used in as400,
explain with real time senario ???
Answer Posted / garry
With commit/rollback we can ensure data consistency.
Consider a scearion where commit/rollback is not used.
Suppose your program writes/updates 10 files. In case the
program fails in between (say after updating 5 files),
there will be data in 5 files and corresponding data will
not be available in 5 files.
If we introduce commit/rollback in above program. In case
of program failure changes made to 5 files can be rolled
back so that we don't have inconsistency between files.
with Commit/rollback we can ensure either all files are
updated or not file is updated.
Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
How to write record if no field or the field are different in physical file in rpgle ?
what is kids-rpg?
what was the robotech rpg?
what is the use of sflnxtchg?
what do you mean by an input subfile, what are the keywords required?
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400
how can I tell when to replace the array?
are there any useful c runtime apis that I can call from rpg iv?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
what is file information data structure?
How to handle duplicate error handling in RPG?
How to select highest score of each subject or how to select highest income of every month?
what is the procedure and explain about real time scenario.
How can we override a file during runtime in rpg?