Its not an easy task of changing all IMS calls with equivalent DB2 calls.

If you have working knowledge of IMS and Db2, and full information of existing IMS database then you can manually change the calls.

First get information of existing IMS DB like number of segments, parent child relations, logical db, secondary indexed db etc.
Second get information of the IMS database is migrating or mapped to Db2 table.

Changing the IMS calls to DB2 will vary depending on each application program, you need to consider any command codes, qual ssa and unqual ssa. etc

This task depends on how complex your IMS DB application system is developed.

Thanks Ekta.. I've converted the segments into tables of a DBD.. I've converted the Parent-Child relationship into primary-foreign key relnship between tables. BUt am not clear with this logical child. Am understanding the use of it but couldn find an equivalent for this in db2. Is that again primary-foreign key relnship??

Also can u please suggest any study docs/sites for this migration if u have any idea.. I couldn find much docs regarding this.

I'll give it a try I suppose you have multiple DBD's allowing you to re-arrange into different logical DBD's. This way a dependent segment in one DB may be the root in another logical DB. The relationship is done by a bi-directional pointer holding each key. So I expect you converted both DB's into two seperate DB2-tables. If you want the relationship to continue it seems to me you define the foreign-keys in both tables. In fact include the bi-directional pointer in the tables. If this doesn't help get back and we will do some further investigation.[/quote]