IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

steps in converting IMS-DB calls to DB2.


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rajat_gupta

New User


Joined: 05 Apr 2007
Posts: 15
Location: india

PostPosted: Wed May 30, 2007 4:05 pm
Reply with quote

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
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Wed May 30, 2007 6:33 pm
Reply with quote

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
View user's profile Send private message
rajat_gupta

New User


Joined: 05 Apr 2007
Posts: 15
Location: india

PostPosted: Thu May 31, 2007 12:41 pm
Reply with quote

Thanks a lot Devzee.I have started following these steps told by u
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts CA7 deleting files in steps after job... CA Products 4
No new posts Converting fixed length file to excel... IBM Tools 7
No new posts Converting ASCII values to COMP-3 (ZD... JCL & VSAM 2
Search our Forums:

Back to Top