Create stored Procedure 
Author Message
 Create stored Procedure

I am new to udb and I can't find any good documentation of how to
setup the development enviroment. I am trying to familiarize myself
with udb stored procedure language. This are the command that I tried
as well as the error that was produced.

db2 connect to sample
db2 "create procedure p1() language sql begin end"

DB221034E The command was processed as an SQL statement because it was
not a
valid Command Line Processor command. During SQL processing it
SQL0035N The file "P9400250.msg" cannot be opened.

My environment is

RedHat 7.2
UDB 8.1.0


Mon, 18 Jul 2005 23:12:16 GMT
 Create stored Procedure

Smells like an authorization problem...

I don't remember exactly with auths are needed, but you can verify my
guess by just oping up the whole path...

Serge Rielau
DB2 UDB SQL Compiler Development
IBM Software Lab, Toronto

Visit DB2 Developer Domain at

Tue, 19 Jul 2005 00:28:20 GMT
 [ 2 post ] 

 Relevant Pages 

1. Creating stored procedures in a stored procedure?

2. Create stored procedures in MS SQL Server 2000

3. Editing/Creating Stored Procedures from Interdev/J++

4. Creating Stored Procedures...

5. How to create stored procedure to execute batch

6. creating stored procedure in master

7. How to create stored procedure out of code

8. Is there a GUI that creates stored procedures?

9. Help with creating Stored Procedure

10. Creating stored procedure select/output to file

11. Create Stored Procedure INSERT

12. can't create store procedure

Powered by phpBB® Forum Software