Discussion:
Displaying variables from procedures - Urgent!
(too old to reply)
s***@yahoo.com
2007-09-04 01:54:32 UTC
Permalink
How do I display variables from stored procedures?

In oracle they can be displayed using DBMS_OUTPUT.PUT_LINE(...)
Is there something similar in DB2?
Knut Stolze
2007-09-04 08:46:13 UTC
Permalink
Post by s***@yahoo.com
How do I display variables from stored procedures?
In oracle they can be displayed using DBMS_OUTPUT.PUT_LINE(...)
Is there something similar in DB2?
You can use the SQL debugger that is available in the application
development center, or you do the same as on oracle and invoke a function
that writes the data to a file. The latter is described here, for example:
http://tinyurl.com/agvaw
--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
Loading...