469,953 Members | 2,229 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,953 developers. It's quick & easy.

User Defined Function

Hi All:

I created a function which i need to modify now.
I tried the alter function command but it throws the following error
message:

db2 =alter function DB2INST1.*/*/(**(),**()) not fenced
DB21034E The command was processed as an SQL statement because it was
not a
valid Command Line Processor command. During SQL processing it
returned:
SQL0658N The object "DB2INST1.*/*/" cannot be explicitly dropped or
altered. SQLSTATE=42917

Is dropping the function and creating it again the only solution?
Can anyone suggest me a solution to this.
Regards,
Racerx

Dec 6 '06 #1
2 1859
Racerx wrote:
Hi All:

I created a function which i need to modify now.
I tried the alter function command but it throws the following error
message:

db2 =alter function DB2INST1.*/*/(**(),**()) not fenced
DB21034E The command was processed as an SQL statement because it was
not a
valid Command Line Processor command. During SQL processing it
returned:
SQL0658N The object "DB2INST1.*/*/" cannot be explicitly dropped or
altered. SQLSTATE=42917

Is dropping the function and creating it again the only solution?
Can anyone suggest me a solution to this.
That's what the user response to message SQL0658 says...

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Dec 6 '06 #2
Racerx wrote:
Hi All:

I created a function which i need to modify now.
I tried the alter function command but it throws the following error
message:

db2 =alter function DB2INST1.*/*/(**(),**()) not fenced
*/*/(**(),**()) ????
Is this some sort of swear word?
I guess you'll need to as least double quote the sucker:
"*/*/(**(),**())". In DB2 9 we we support 128 character function names.
I'm sure you can find a reasonable alpha-numeric name....

Cheers
Serge

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

WAIUG Conference
http://www.iiug.org/waiug/present/Fo...Forum2006.html
Dec 6 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by chreo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.