IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

display statements in a stored proc..is it possible????


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Lkmi

New User


Joined: 04 Mar 2005
Posts: 53
Location: Newyork

PostPosted: Thu Jul 27, 2006 8:05 pm
Reply with quote

Is it possible to have display statements in a stored proc ????

Iam trying to test a DB2 stored proc using IBM-DB2 development center.

is teher any way by which i can see the o/p of my displays????????
Back to top
View user's profile Send private message
DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Fri Jul 28, 2006 5:38 am
Reply with quote

Absolutely, it will show up in your SYSOUT. We do this all the time for exception/error conditions

Dave
Back to top
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Fri Aug 11, 2006 1:03 pm
Reply with quote

Hi David,

Will it show the messages in SYSOUT of the JCL submitted by user?

Suppose, I have an application program using a DB2 stored procedure. Will the display statements in the stored procedures will go to the SYSOUT of the JCL I submit to run that app program?

I believe it should go to some DB2 logs. I am not really sure.

Thanks,
Parikshit.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Invoke stored procedure via batch JCL. DB2 2
No new posts How to display the leading zeros of a... DB2 7
No new posts Calling COBOL DB2 program from a COBO... COBOL Programming 2
No new posts Relate COBOL statements to EGL statement All Other Mainframe Topics 0
Search our Forums:

Back to Top