MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Executing a Stored Procedure from REXX

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
mukthi
Beginner


Joined: 05 Dec 2002
Posts: 4
Topics: 2

PostPosted: Tue Sep 16, 2003 1:26 pm    Post subject: Executing a Stored Procedure from REXX Reply with quote

Hi,

I am trying to execute a DB2 Stored Procedure from REXX. The code is:

PROC = 'SYSPROC.SCTSZ999'
ADDRESS DSNREXX "EXECSQL CALL " PROC "(RazzI,: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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group