Welcome Guest ( Log In | Register )



Performance Tuning Reference poster
Oracle training in Linux 

Oracle training Weblogic Book
Easy Oracle Jumpstart
Oracle training & performance tuning books
Burleson Consulting Remote DB Administration
Reply to this topicStart new topic
> error in the OUT parameter., OUT parameter not worked in unix
post Feb 23 2012, 01:40 PM
Post #1


Group: Members
Posts: 4
Joined: 22-February 12
Member No.: 46,812

when i execute pl/sql procedure with IN and OUT parameter in UNIX then:
the IN is working fine but the OUT give me error.

the error of the execution:
SQLException when calling JDBCConnection.callProcedure().
java.sql.SQLException: Parameter 7 not set; Wrong number of parameters.
Go to the top of the page
+Quote Post
post Feb 23 2012, 02:42 PM
Post #2

Advanced Member

Group: Members
Posts: 884
Joined: 25-September 07
Member No.: 12,336

Please note that this is an Oracle DBA forum, sadly we are not PL/SQL developers here!

"Wrong number of parameters. "

"Parameter 7 not set;"

You need to declare the parameter in your shell script to accept the out parameter, and specify this parm in your call to the procedure too.

There is a worrking example in the book "Oracle shell scripting:


Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


Lo-Fi Version Time is now: 27th November 2015 - 09:14 PM