Quote:
|
Originally Posted by Marcus_A
Did you put a @ at the end of the source code? Should be right after the END statement (same line).
|
First,Thank you for your reply.
of course i put a @ at the end of the code.
the content of getText.sql is
#####################################
CREATE PROCEDURE getTEXT (IN in_put smallint,OUT out_put smallint)
language sql
begin
select int(12/in_put) into out_put from sysibm.sysdummy1;
end@
#####################################
Actually,whatever my "create procedure" script is,i always get the message below
#####################################
DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL0901N The SQL statement failed because of a non-severe system error.
Subsequent SQL statements can be processed. (Reason "CREATE PROCEDURE with
LANGUAGE SQL only allowed at catalog node".) SQLSTATE=58004
#####################################
Is there something wrong with my database or db configure?