martin9
Active User
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
hy madhugoodboy,
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!)
martin9 |
|
mbr_raja
New User
Joined: 15 Nov 2004 Posts: 26 Location: Chennai, India
|
|
|
|
There are three modes ( Flavour ) in IMS DB/DC. They are
1) DLI- Data Language / 1 -- Purely Batch
2) BMP-Batch Message Processing -- Used both Batch & Online
3) MPP-Message Processing Program -- Purely Online.
Depending upon the application requirements, developer will chose and mostly prefer BMP. Since it's used both batch as well as online |
|