Importing Table Defintions from a remote DB2 Server

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
cosec
Premium Member
Premium Member
Posts: 230
Joined: Tue May 08, 2007 8:10 pm

Importing Table Defintions from a remote DB2 Server

Post by cosec »

how do I import source and target table definitions from two different servers ?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The import dialogs ask for server name and other authentication information. Just do them one at a time, correctly pointing to the correct server.

You may have additional issues if the servers are, for example, running different versions, but you made no mention that this is the case, so I won't bother to answer unasked questions.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
rafik2k
Participant
Posts: 182
Joined: Wed Nov 23, 2005 1:36 am
Location: Sydney

Post by rafik2k »

Create two dsn for the databases in those server.
Go to Import--->ODBC Table Definition
Enter your dsn name, user name and password.

You will get list of table for the database.

Then import what ever table you want.
cosec
Premium Member
Premium Member
Posts: 230
Joined: Tue May 08, 2007 8:10 pm

Post by cosec »

What is the format to enter the name of the server if I use the plug in meta data server option ?


ray.wurlod wrote:The import dialogs ask for server name and other authentication information. Just do them one at a time, correctly pointing to the correct server.

You may have additional issues if the servers are ...
rafik2k
Participant
Posts: 182
Joined: Wed Nov 23, 2005 1:36 am
Location: Sydney

Post by rafik2k »

Do the following step if you want to use plug-in metadata definition:-
Select Plug-in
In your case(for db2) IBM DB2 UDB data acess

Enter Server Name as your db2 Database name, user name,password.
In next step select the table you want to export,select To Category-->then import.
diamondabhi
Premium Member
Premium Member
Posts: 108
Joined: Sat Feb 05, 2005 6:52 pm
Location: US

Post by diamondabhi »

If its db2udb you can also use orchestrate schema definitions option to import metadata.
Every great mistake has a halfway moment, a split second when it can be recalled and perhaps remedied.
Post Reply