View previous topic :: View next topic
|
Author |
Message |
rajat_gupta
New User
Joined: 05 Apr 2007 Posts: 15 Location: india
|
|
|
|
Hi all
can anybody help me out and list the steps involved in converting an IMS program to DB2 program.the DB2 tables are already existing. |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
I assumed you are migrating batch IMS DB program to DB2 program.
At a very high level:
1. In working storage Add DCLGEN for tables and remove IO areas.
2. Linkage section - No need of PCB masks
3. Procedure division - Remove using or Entry statement which ever defined
4. Instead of CBLTDLI calls code equivalent of this in DB2 statements. Converting IMS calls to DB2 equivalent is tricky or little complicated, bcos IMS is hierachical and DB2 is relational. You can do simpler using Db2 if you know exactly what business logic the IMS calls are used within program.
5. Create PLANS, delete PSBs
6. Also you need to consider if IMS program is BMP, Checkpoint restart etc.. in DB2
This is not complete list, once you start migrating you can come up with better steps. |
|
Back to top |
|
|
rajat_gupta
New User
Joined: 05 Apr 2007 Posts: 15 Location: india
|
|
|
|
Thanks a lot Devzee.I have started following these steps told by u |
|
Back to top |
|
|
|