473,386 Members | 1,796 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,386 software developers and data experts.

QSYS type *LIB not found

Hi,

I am trying to run a create procedure statement and I am getting the
following error with a create table statement within the procedure
highlighted:

[SQL0204] [my user name] in QSYS type *LIB not found. Cause . . . . . :
SWANSONL in QSYS type *LIB was not found. If this is an ALTER TABLE
statement and the type is *N, a constraint was not found. If this is
not an ALTER TABLE statement and the type is *N, a function, procedure,
or trigger was not found. Recovery . . . : Change the name and try
the request again. If the object is a node group, ensure that the DB2
Multisystem product is installed on your system and create a nodegroup
with the CRTNODGRP CL command.

I created a cut-down version of the stored procedure that also throws
the error:

CREATE PROCEDURE [library].Lee_Test (
OUT SUCCESS INTEGER )
LANGUAGE SQL
SPECIFIC [library].Lee_Test
NOT DETERMINISTIC
MODIFIES SQL DATA
CALLED ON NULL INPUT
BEGIN
CREATE TABLE TMP_Lee ( ORDERNO INT , ORDERTYPE CHAR ( 2 ) , COMPANYNO
CHAR ( 5 ) , LINENO INT ) ;
DROP TABLE TMP_Lee;
END;

It appears to be trying to use my username as the library name when
creating the table. I can fix it by explicitly entering the library in
the create table statement, but I would rather not create a dependency
on the current library that I have to change when I migrate.

The stored procedure is currently running fine in another library and I
am just trying to copy it to a new one.

Any help would be appreciated.

Thanks

Jan 20 '06 #1
0 2381

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

Similar topics

0
by: Richard | last post by:
I am setting up HS in 8i, when I go to $ORACLE_HOME/bin and do a ldd hsodbc i get the below error message, I have done a relink to recreate the hsodbc executable but still no luck. I do have a tar...
1
by: balor | last post by:
I've got a problem involving casting operators using GCC 3.2 - hopefully someone here can help me out. I've written the following small program: class A { public: operator int() { return 2; }...
1
by: Ingo Beyer | last post by:
hi, in a c# app i dynamically loaded a com type library: AssemblyBuilder ab = tlc.ConvertTypeLibToAssembly(typeLib, "temp.dll", 0, ceh, null, null, null, null); while loading .net raises an...
0
by: David F. | last post by:
Getting this message so turned on /VERBOSE - part of the output is below (the only reference to searching of libc.lib). This is for a multi-threaded application and AFAIK all my libs are...
7
by: John Grandy | last post by:
My ASP.NET Web Service project has a Web Method that returns an array filled with instances of a custom class. The custom class is defined in a Class Library that is included in the web-service...
5
by: info | last post by:
Hi! Please be patient with a newbie... I use DevC++. I've found and compiled succefully various openGL examples. Before build the application, I link the project with static libs, like, in...
5
by: ashish.sadanandan | last post by:
Hi, Can someone please tell me where I can find those two libraries for Visual C++ 2005 Express Edition compiler? Thanks in advance, Ashish.
0
by: Christian Stapfer | last post by:
Hi, I get the following traceback when trying to have wx.lib.pdfwin.PDFWindow open a PDF file: E:\Tutoring\Teacher\Flashcards>python pdfwin1.py Traceback (most recent call last): File...
5
by: Marc Oldenhof | last post by:
Hello all, I'm pretty new to Python, but use it a lot lately. I'm getting a crazy error trying to do operations on a string list after importing numpy. Minimal example: Python 2.5.1...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.