mukthi Beginner
Joined: 05 Dec 2002 Posts: 4 Topics: 2
|
Posted: Tue Sep 16, 2003 1:26 pm Post subject: Executing a Stored Procedure from REXX |
|
|
Hi,
I am trying to execute a DB2 Stored Procedure from REXX. The code is:
PROC = 'SYSPROC.SCTSZ999'
ADDRESS DSNREXX "EXECSQL CALL " PROC "(I,:RC,:RCD)"
Where PI is the input parameter, RC and RCD are output parameters.
Before upgrading to V7 it used to work. Now I am getting -804 SQLCODE. Do I need to change any thing in the code for the new version?
Thank you.
Mukthi |
|