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 

db2 udb v8 stored Procedures

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


Joined: 28 May 2003
Posts: 51
Topics: 30

PostPosted: Tue Nov 04, 2003 8:10 am    Post subject: db2 udb v8 stored Procedures Reply with quote

Is there any way to get the intermediate output from Stored Procedure in UDB 8.1 to a console or a file?

Regards,
Vani
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Wed Nov 05, 2003 3:57 am    Post subject: Reply with quote

vani,

If you are writing a stored proc using a prog lang like Java, COBOL, C etc, you can use these programs features to write to a file

If you are using a SQL Stored Procedure, you can write a UDF inn one of the above languages which takes the message as the argument and writes that to the file

check this link for A UDF for File Output and Debugging from SQL

http://www7b.software.ibm.com/dmdd/library/techarticle/0302izuha/0302izuha.html

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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