View previous topic :: View next topic
|
Author |
Message |
A_programmers
New User
Joined: 24 Mar 2010 Posts: 19 Location: USA
|
|
|
|
Hello Friends,
I am working on POC for small application migration; written in COBOL and DB2. I need to move this application to distributed platform Linux with Postgre SQL as target DB.
For DB2 data migration; I was thinking of below approach :
1. Get details about current schema structure / DDL statements;
2. Convert appropriately to relevant data types in Postgre.
3. Create schema in Post gre
4. Extract delimited data from DB2 using high performance unload utility (from BMC) or either IKJEFT01.
5. sFTP data to Linux system.
6. Load into Postgrel sql.
I am looking for guidance in every step of above process. E.g. for getting schema details any tool available ? Similarly for converting schema any tool available ? For extracting tool from DB2 what is best tool ? For loading data in post gre sql what is the best tool ?
Any help will be highly helpful. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
this is a mainframe/zOS related forum,
it is not reasonable to ask for help for a different platform
what happened when you googled with db2 to postgres migration ? |
|
Back to top |
|
|
A_programmers
New User
Joined: 24 Mar 2010 Posts: 19 Location: USA
|
|
|
|
I understand your view enrico.
I did search on internet; but found more of a marketing presentation. Also I wanted view of what different options people have used.
Thanks. |
|
Back to top |
|
|
sushanth bobby
Senior Member
Joined: 29 Jul 2008 Posts: 1020 Location: India
|
|
|
|
Hi
First main thing to check would be encoding as that would cause lots of headaches. Is your mainframe table EBCDIC or UNICODE ?
For DB2 data migration; I was thinking of below approach :
1. Get details about current schema structure / DDL statements;
ANS : What tool do you have RC/Query, BMC or Admin tool. In all the tools either by giving DDL, HDDL or GEN you can get the ddls
2. Convert appropriately to relevant data types in Postgre.
3. Create schema in Post gre
4. Extract delimited data from DB2 using high performance unload utility (from BMC) or either IKJEFT01.
ANS : HPU is not BMC product it's IBM.
5. sFTP data to Linux system.
6. Load into Postgrel sql.
ANS : You need to test with some samples here. How the data should be, should it enclosed with double quotes or not.
There is not much straight answers to migrations as it depends on data
Thanks,
Sushanth |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
A_programmers
New User
Joined: 24 Mar 2010 Posts: 19 Location: USA
|
|
|
|
Thanks Sushanth and Enrico.
FYI; I have partially used IBM Data studio to extract DDLs. |
|
Back to top |
|
|
|