473,408 Members | 1,982 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Funny error message UDB v8.2 linux

I have a script which works from the command line, but gives the
following error message when run as a part of a email script. Any
suggestions as to a cause would be greatly appreciated.

SQL10007N Message "-1390" could not be retrieved. Reason code: "3".
May 4 '07 #1
3 4743
Bob Stearns wrote:
I have a script which works from the command line, but gives the
following error message when run as a part of a email script. Any
suggestions as to a cause would be greatly appreciated.

SQL10007N Message "-1390" could not be retrieved. Reason code: "3".
This is most likely a problem with setting your environment variables.
Try:
DB2INSTANCE=<your_instance>
export DB2INSTANCE

HTH

--
Jeroen
May 4 '07 #2
The Boss wrote:
Bob Stearns wrote:
>I have a script which works from the command line, but gives the
following error message when run as a part of a email script. Any
suggestions as to a cause would be greatly appreciated.

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

This is most likely a problem with setting your environment variables.
Try:
DB2INSTANCE=<your_instance>
export DB2INSTANCE
And also check whether the path to the message file has been set correctly
when running the email script.

--
Jeroen
May 4 '07 #3
The Boss wrote:
The Boss wrote:
>Bob Stearns wrote:
>>I have a script which works from the command line, but gives the
following error message when run as a part of a email script. Any
suggestions as to a cause would be greatly appreciated.

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

This is most likely a problem with setting your environment variables.
Try:
DB2INSTANCE=<your_instance>
export DB2INSTANCE

And also check whether the path to the message file has been set correctly
when running the email script.
In short, your DB2 environment is not properly set up. The best way is to
source the db2profile script of the DB2 instance you want to use (note the
leading dot):

.. ~db2inst1/sqllib/db2profile

--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
May 6 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: eScrewDotCom | last post by:
eScrew Welcome to eScrew! eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew story if you promise eScrew to consider eScrew story as joke. eScrew story is very funny. eScrew...
8
by: eScrewDotCom | last post by:
eScrew Welcome to eScrew! eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew story if you promise eScrew to consider eScrew story as joke. eScrew story is very funny. eScrew...
4
by: Will Stuyvesant | last post by:
Add your funny or surprising Python error messages to this thread. A requirement is that you should also show (minimal) code that produces the message. Put the code below, so people can think...
65
by: perseus | last post by:
I think that everyone who told me that my question is irrelevant, in particular Mr. David White, is being absolutely ridiculous. Obviously, most of you up here behave like the owners of the C++...
5
by: eScrewDotCom | last post by:
www.eScrew.com eScrew Welcome to eScrew! eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew story if you promise eScrew to consider eScrew story as joke. eScrew story is...
0
by: eScrewDotCom | last post by:
eScrew Welcome to eScrew! eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew story if you promise eScrew to consider eScrew story as joke. eScrew story is very funny. eScrew...
5
by: cranium.2003 | last post by:
hi, Here is my code #include <iostream.h> int main() { cout <<"HI"; return 0; } and using following command to compile a C++ program g++ ex1.cpp -o ex1
2
by: akhilesh.noida | last post by:
I am trying to compile glibc-2.5 for ARM based board. But I am getting errors while configuring it. Please check and give your inputs for resolving this. configure command : $...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.