Link to home
Start Free TrialLog in
Avatar of Prardhan N
Prardhan NFlag for India

asked on

Need help on DB2 Federation

Hi ALL

Good Morning.

I am facing problem with DB2 Federation. I am doing between 10.5 and 9.7 .

create server servername type db2/udb version '9.7' wrapper DRDA authid "db2inst1"  password "password" options(add dbname 'DBNAME');


create user mapping for sourceinstancename server servername options ( remote_authid 'db2inst1', remote_password 'password');

Any iputs please..
Avatar of Darrell Porter
Darrell Porter
Flag of United States of America image

Please refine your need.  I do not see a question, just some statements.
Avatar of Prardhan N

ASKER

DB21034E  The command was processed as an SQL statement because it was not a
valid Command Line Processor command.  During SQL processing it returned:
SQL1101N  Remote database "TARGETDBNAME" on node "<unknown>" could not be accessed
with the specified authorization id and password.  SQLSTATE=08004

I am facing this error while creating server.
Any inputs please...
Try this instead:


create server servername type db2/udb version 9 wrapper DRDA authid "db2inst1"  password "password" options(dbname 'DBNAME');
I have below Questions

1) Does Federation work between Linux and Aix Machine ?
2) Does Federation work if they(Source and Target) are in different Networks.?

I could do DB cataloging successfully.
SOLUTION
Avatar of Kent Olsen
Kent Olsen
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks, Tom.  (Can't believe I wrote "connecting".  Been a busy day!)
Force closed accepting Tomas' answer with Kent's assist.