Portal | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
DB2 to Postgre migration

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
A_programmers

New User


Joined: 24 Mar 2010
Posts: 17
Location: USA

PostPosted: Wed Jul 22, 2020 8:26 pm    Post subject: DB2 to Postgre migration
Reply with quote

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

enrico-sorichetti

Senior Member


Joined: 14 Mar 2007
Posts: 10701
Location: italy

PostPosted: Wed Jul 22, 2020 9:26 pm    Post subject: Reply to: DB2 to Postgre migration
Reply with quote

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

New User


Joined: 24 Mar 2010
Posts: 17
Location: USA

PostPosted: Thu Jul 23, 2020 12:18 pm    Post subject:
Reply with quote

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

Senior Member


Joined: 29 Jul 2008
Posts: 1018
Location: India

PostPosted: Wed Aug 12, 2020 4:53 am    Post subject:
Reply with quote

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

Senior Member


Joined: 14 Mar 2007
Posts: 10701
Location: italy

PostPosted: Wed Aug 12, 2020 4:35 pm    Post subject: Reply to: DB2 to Postgre migration
Reply with quote

well ...
googling with db2 postgres migration

returned as first link (Your mileage might vary )
https://wiki.postgresql.org/images/d/d1/DB2UDB-to-PG.pdf

worth following the discussions going on here
https://wiki.postgresql.org/wiki/Main_Page
Back to top
View user's profile Send private message
A_programmers

New User


Joined: 24 Mar 2010
Posts: 17
Location: USA

PostPosted: Mon Oct 12, 2020 8:05 pm    Post subject:
Reply with quote

Thanks Sushanth and Enrico.

FYI; I have partially used IBM Data studio to extract DDLs.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. COBOL/CICS with real time MQ Series u... BPranav CICS 2 Mon Sep 16, 2019 9:19 pm
No new posts DFSMShsm dump tape migration to new t... pietras65 IBM Tools 1 Mon Aug 13, 2018 8:43 pm
No new posts Db2 migration from V4/6 to V8/10 Venkatesh G DB2 1 Thu Jul 14, 2016 8:54 am
No new posts Data Migration from Fujitsu AIM/DB to... umakalikiri DB2 2 Fri Apr 15, 2016 12:26 pm
No new posts Fujitsu Cobol 85 to IBM Cobol (Any ve... umakalikiri COBOL Programming 4 Fri Apr 15, 2016 7:40 am

Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us