Re: Problems with SQL SET statements
- From: Jonathan Ball <jonball@xxxxxxxxxxxxxx>
- Date: Wed, 30 Jan 2008 10:59:24 -0800
Jonathan Ball wrote:
First, what is the difference between
set option sqlpath = *libl
and
set path = *libl
at compile time (V5R3)? If I do the former, user defined functions are not resolved; with the latter, they are.
Secondly, SET SCHEMA isn't working. I specify it before declaring and opening a cursor, but DB2 doesn't find the files in the cursor because it is looking for them in a library with the same name as my group profile.
This is infuriatingly frustrating. If I specify naming=*SYS, then my tables are found (from *libl), but my UDFs aren't, even though I specify both
set option sqlpath = *libl
and
set path = *libl
If I specify naming=*SQL, then my UDFs are found but my files aren't, even though I specify
set schema = myschema
Why won't these work together?
.
- Follow-Ups:
- UPDATE Re: Problems with SQL SET statements
- From: Jonathan Ball
- UPDATE Re: Problems with SQL SET statements
- References:
- Problems with SQL SET statements
- From: Jonathan Ball
- Problems with SQL SET statements
- Prev by Date: Re: Problem with SQL UDF
- Next by Date: Re: Problem with SQL UDF
- Previous by thread: Problems with SQL SET statements
- Next by thread: UPDATE Re: Problems with SQL SET statements
- Index(es):
Relevant Pages
|