Re: SQL10007N Message "-1390" could not be retrieved. Reason code: "1"
From which userid are you running the db2 command ?
If you are running it from a user different from the instance owner, you will have to set the environment variables for DB2 (as indicated in the error msg -1390) ...
Include the following line in the .profile file of the user running the db2 command .
You can have a look at the instance owner's .profile if you have any doubts on the syntax.
I have assumed ksh here .... If you are using any other shell, use the equivalents for the shell ...
Originally posted by pablo_k
I received this message everytime i try to run the db2 command, i've created the db2instance.
The db2 it's running in a Red Hat Linux 7.1.
I don't know what to do.