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 

Search found 1 match
MVSFORUMS.com Forum Index
Author Message
  Topic: Help - Cob/DB2 stored procs - multiple result sets
Jolly

Replies: 5
Views: 6799

PostForum: Application Programming   Posted: Tue Mar 21, 2006 1:46 am   Subject: Help - Cob/DB2 stored procs - multiple result sets
Hi,

This is how it will work:

1. In the calling program, declare

01 LOCVAR SQL TYPE IS RESULT-SET-LOCATOR VARYING.

2. Call stored procedure using CALL statement.

EXEC SQL
CALL p ...
 
Page 1 of 1
All times are GMT - 5 Hours
Jump to:  


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group