> If you are on local machine and issue "db2 get db cfg for sample" - since
> this command requires instance attachement - a locla attachment to the
[quoted text clipped - 8 lines]
>
> Jan M. Nelken
The OP connected to a database first. I believe that once you connect to a
database, you are implicitly attached to corresponding instance.
Thiru - 28 May 2005 07:55 GMT
Hi,
I guess you are not connected the database. You may check that using
the simple queries such as 'select 1 from sysibm.sysdummy1' after the
connect.
if it is not working then, try this.
connect to <remote db> user <remote user> using <remote password>
Steps to be Noted.
1. Make sure remote db is cataloged.
2. Make sure you authentication is correct.
3. Make sure the remote user is having the authority enough to perform
the required operation.
Connecting to the database will do the automatic attachment.
Cheers,
Thiru.
WantedToBeDBA.
WantedToBeDBA {at} gmail {dot} com
Thiru - 28 May 2005 07:55 GMT
Hi,
I guess you are not connected the database. You may check that using
the simple queries such as 'select 1 from sysibm.sysdummy1' after the
connect.
if it is not working then, try this.
connect to <remote db> user <remote user> using <remote password>
Steps to be Noted.
1. Make sure remote db is cataloged.
2. Make sure you authentication is correct.
3. Make sure the remote user is having the authority enough to perform
the required operation.
Connecting to the database will do the automatic attachment.
Cheers,
Thiru.
WantedToBeDBA.
WantedToBeDBA {at} gmail {dot} com
Gert van der Kooij - 28 May 2005 08:17 GMT
> The OP connected to a database first. I believe that once you connect to a
> database, you are implicitly attached to corresponding instance.
Yes, that's true, but it will only work with V8. With V7 you
definitely need to attach to the remote node if you current user
doesn't have the needed authorizations.
Since the OP is using V7 his db connection doesn't help.