Db2

 View Only
Expand all | Collapse all

Connecting remotely to a DB2 Database from a client machine

  • 1.  Connecting remotely to a DB2 Database from a client machine

    Posted Wed November 09, 2022 04:35 PM
    I am trying to connect to remote db2 database (REMOTEDB2) from a Client Machine (CLIENT1).
    After successfully installing db2 client or Server package whenever I try to run db2

    I get the following error

    SQL10007N Message "-1390" could not be retrieved. Reason code: "3".

    If Possible I do not wish to create a instance or add any other users. Db2 client is being installed as root.

    ------------------------------
    Shirish Kale
    ------------------------------

    #Db2


  • 2.  RE: Connecting remotely to a DB2 Database from a client machine

    Posted Thu November 10, 2022 02:20 AM
    if you want to use the command line interface,  the environment has to be prepared
    this is done by creating a client instance for a user - and execute db2profile
    or you have to use a program that only needs the drivers ..



    ------------------------------
    Thanks for all answers
    Best Regards,
    Guy Przytula
    ------------------------------