If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Instance owner got SQL0440N error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-14-07, 19:13
huyuhui huyuhui is offline
Registered User
 
Join Date: Apr 2004
Posts: 22
Question Instance owner got SQL0440N error

database level is: DB2 v9.1.300.257
operating system is windows 2003(32bit)

Account er1adm is instance owner, but when issued the following command, got SQL0440N error. Please advise.

C:\Documents and Settings\er1adm>db2 values( RTRIM( CURRENT SERVER ) )
SQL0440N No authorized routine named "RTRIM" of type "FUNCTION" having
compatible arguments was found. SQLSTATE=42884
__________________
**************************************
Make progress everyday
Mail: hoo.jimmy@gmail.com
**************************************
Reply With Quote
  #2 (permalink)  
Old 11-15-07, 13:13
nidm nidm is offline
Registered User
 
Join Date: May 2003
Posts: 113
Quote:
Originally Posted by huyuhui
database level is: DB2 v9.1.300.257
operating system is windows 2003(32bit)

Account er1adm is instance owner, but when issued the following command, got SQL0440N error. Please advise.

C:\Documents and Settings\er1adm>db2 values( RTRIM( CURRENT SERVER ) )
SQL0440N No authorized routine named "RTRIM" of type "FUNCTION" having
compatible arguments was found. SQLSTATE=42884
just as the message said, there is no such function RTRIM() that takes a datatype same as CURRENT SERVER .

you need check sql ref to see whether there is a RTRIM built-in function(I assume you are looking for the BIF one), and what's the argument type it expects
Reply With Quote
  #3 (permalink)  
Old 11-15-07, 17:50
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Quote:
Originally Posted by nidm
just as the message said, there is no such function RTRIM() that takes a datatype same as CURRENT SERVER .

you need check sql ref to see whether there is a RTRIM built-in function(I assume you are looking for the BIF one), and what's the argument type it expects
His statement runs fine on my DB2 for Windows system with 8.1 FP15.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #4 (permalink)  
Old 12-05-07, 10:51
koganti koganti is offline
Registered User
 
Join Date: Jul 2002
Location: ATL
Posts: 170
put that statement in double quotes and remove all the spaces in side the braces
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On