View previous topic :: View next topic
|
Author |
Message |
prashanth1
New User
Joined: 27 Sep 2006 Posts: 47 Location: Hyderabad
|
|
|
|
Hi,
While executing Stored Procedure thru Command Level Program (DB2 Commands) I am getting below error.
'-DB2' IS NOT A KNOWN COMMAND
and my syntax is :
-DB2 "CALL spname(1,?)"
Can someone help me how to overcome this problem. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Please post the bit from the manual where you learned this syntax. |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3076 Location: NYC,USA
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Yup, that shows the correct way to issue the statement.
I asked where the "-DB2" syntax was learned/found . . .
The lesson should be that one should not create one's own syntax. . . |
|
Back to top |
|
|
|