View previous topic :: View next topic
|
Author |
Message |
karthikbabudh
New User
Joined: 08 Sep 2003 Posts: 32 Location: Toronto <-> Bangalore
|
|
|
|
Hi,
Can anyone tell me how to replace ims call stmt to db2 exec sql statement.if u have any docs please mail it.
Thankx,
Karthik. |
|
Back to top |
|
|
sridhard
New User
Joined: 02 Jun 2005 Posts: 8 Location: Chennai
|
|
|
|
Hi,
Its very difficult question. You can't simply replace.
There should have been IMS database existing.
Thanks
Sridhar |
|
Back to top |
|
|
Karthikt
New User
Joined: 15 Aug 2005 Posts: 51
|
|
|
|
Replace GU - SELECT
GN - CURSORS
ISRT -INSERT
REPL - UPDATE
DELET -DELETE |
|
Back to top |
|
|
lakshmi83durga
New User
Joined: 10 Feb 2007 Posts: 6 Location: Bangalore
|
|
|
|
Hi kartik..
Can u please help me out in replacing IMS calls to sql calls..Am having confusions in the PCB-mask parameter in the CBLTDLI call. Also the Logical child parameter. How to replace it in db2.
Thanks,
Durga |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
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. |
|
Back to top |
|
|
lakshmi83durga
New User
Joined: 10 Feb 2007 Posts: 6 Location: Bangalore
|
|
|
|
Thanks devsee..
But could u please help me out in the details of PCB mask which is used as a parameter in CBTDLI call and is declared in Linkage section.. what is the equivalent for this in DB2.
Thanks
Durga |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi Durga,
It is something similar to SQLCA |
|
Back to top |
|
|
lakshmi83durga
New User
Joined: 10 Feb 2007 Posts: 6 Location: Bangalore
|
|
|
|
Thanks Ekta...
Do u have any idea about the Logical child in DBD.. How to replace that in DB2 database.
Thanks
Durga |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi Durga,
Its depend upom ur ims database like number of sgement ,child parent relationship,key field etc & how u convert this IMS database to DB2 database. |
|
Back to top |
|
|
lakshmi83durga
New User
Joined: 10 Feb 2007 Posts: 6 Location: Bangalore
|
|
|
|
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.
Thanks
Durga |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi Durga,
Yes i think u can go with primary-foreign key relationship but i dont have much idea Bitneuker can help u regarding this |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
Ekta: thank you so much for this.........
Quote: |
but i dont have much idea Bitneuker can help u 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] |
|
Back to top |
|
|
lakshmi83durga
New User
Joined: 10 Feb 2007 Posts: 6 Location: Bangalore
|
|
|
|
Thanks Bitneuker..
Can u please suggest me some sites or send me some docs for this migration from IMS to DB2?
Thanks
Durga |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
Hi Durga,
There are tools that can migrate from IMS to DB2. Suppose it will cost you but just have a look here. Found it in this forum after some Googling. |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
Here's another one. Click have a look at the fact sheet; maybe the strategy is of use. |
|
Back to top |
|
|
Dryice
New User
Joined: 04 Jan 2006 Posts: 1
|
|
Back to top |
|
|
|