Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
there are two main methods to access ims/db:
1. BMP - Batch Message Processing
you run your program under control of the IMS region controller,
therefore you do not have to care about data consistency,
because the region controller will do this for -> CHECKPOINT, ROLLBACK...
2. DLI - Data Language Interface
you run your program not under control of the IMS region controller,
mainly you do this for READ programs. therefore you anyway will
have no problems with data integrity or consistency.
if you also want to do updates, you have to close the databses
first, (i.e you set them offline), otherwise you will receive an abend.
also you must consider, that data integrity and consistency while
updating in DLI-mode, you must do yourself!
(i.e. you must do a BACKOUT to the last good point!)