<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									How can I report work status (i.e. log statements) for a long-running stored proc or query? - Developer Network Q&amp;A				            </title>
            <link>https://community.onenetwork.com/sdk-forum/how-can-i-report-work-status-i-e-log-statements-for-a-long-running-stored-proc-or-query/</link>
            <description>BY Network Community Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Sat, 13 Jun 2026 21:39:25 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>Answer to: How can I report work status (i.e. log statements) for a long-running stored proc or query?</title>
                        <link>https://community.onenetwork.com/sdk-forum/how-can-i-report-work-status-i-e-log-statements-for-a-long-running-stored-proc-or-query/#post-5617</link>
                        <pubDate>Mon, 21 Sep 2020 15:33:38 +0000</pubDate>
                        <description><![CDATA[Beginning in Neo 3.1, the Platform has a new table and function for this purpose:
 
function: WRITE_PROC_LOG(MESSAGE in VARCHAR2)
table: PROC_LOG (includes columns MESSAGE and CREATION_TI...]]></description>
                        <content:encoded><![CDATA[<p>Beginning in Neo 3.1, the Platform has a new table and function for this purpose:</p>
<p> </p>
<p>function: WRITE_PROC_LOG(MESSAGE in VARCHAR2)</p>
<p>table: PROC_LOG (includes columns MESSAGE and CREATION_TIME)</p>
<p> </p>
<p>In your proc, add statements like WRITE_PROC_LOG('Starting to do ...')</p>
<p>This will be inserted into PROC_LOG *in a new transaction*.  So you can query PROC_LOG while the long-running code is executing and see updates.</p>
<p> </p>
<pre>select CREATION_TIME, MESSAGE<br /><br />from PROC_LOG<br /><br />order by CREATION_TIME desc<br /><br /></pre>]]></content:encoded>
						                            <category domain="https://community.onenetwork.com/sdk-forum/">Developer Network Q&amp;A</category>                        <dc:creator>Greg Merrill</dc:creator>
                        <guid isPermaLink="true">https://community.onenetwork.com/sdk-forum/how-can-i-report-work-status-i-e-log-statements-for-a-long-running-stored-proc-or-query/#post-5617</guid>
                    </item>
				                    <item>
                        <title>How can I report work status (i.e. log statements) for a long-running stored proc or query?</title>
                        <link>https://community.onenetwork.com/sdk-forum/how-can-i-report-work-status-i-e-log-statements-for-a-long-running-stored-proc-or-query/#post-5616</link>
                        <pubDate>Mon, 21 Sep 2020 15:31:21 +0000</pubDate>
                        <description><![CDATA[I have a stored proc which runs for a couple hours and does lots of things.  Right now, it&#039;s hard for me to tell how much progress it&#039;s made.  I&#039;ve tried things like DBMS_OUTPUT.PUT_LINE but...]]></description>
                        <content:encoded><![CDATA[<p>I have a stored proc which runs for a couple hours and does lots of things.  Right now, it's hard for me to tell how much progress it's made.  I've tried things like DBMS_OUTPUT.PUT_LINE but I don't know where to get this output.  What's the best way for me to handle this?</p>]]></content:encoded>
						                            <category domain="https://community.onenetwork.com/sdk-forum/">Developer Network Q&amp;A</category>                        <dc:creator>Greg Merrill</dc:creator>
                        <guid isPermaLink="true">https://community.onenetwork.com/sdk-forum/how-can-i-report-work-status-i-e-log-statements-for-a-long-running-stored-proc-or-query/#post-5616</guid>
                    </item>
							        </channel>
        </rss>
		