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 

calling a stored procedure from a VB app.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
mikeg
Beginner


Joined: 25 Aug 2003
Posts: 12
Topics: 6

PostPosted: Mon Aug 25, 2003 9:31 pm    Post subject: calling a stored procedure from a VB app. Reply with quote

I created a Stored Procedure that not only returns a record set, but it also returns data in the stored procedures linkage section. I wrote a COBOL program that runs in CICS, that calls the stored procedure. After the stored procedure is called, the record set is available, and the data passed through the stored procedures linkage is available. Life is good. However, when I call the stored procedure from a VB program running on my desk top, only the record set is available. The data that should be passed through the linkage section, contains spaces. Does anyone know how to get around this problem?
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Tue Aug 26, 2003 9:37 am    Post subject: Reply with quote

Try setting the results set object to nothing before cehcking the parameters.
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 -> Database 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