> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# showProcStatus

<div className="kinetica-javadoc">
  <ul className="member-list">
    <li>
      <div className="section detail" id="showProcStatus(com.gpudb.protocol.ShowProcStatusRequest)">
        <h3>showProcStatus</h3>
        <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/ShowProcStatusResponse" title="class in com.gpudb.protocol">ShowProcStatusResponse</a></span> <span className="element-name">showProcStatus</span><wbr /><span className="parameters">(<a href="/content/api/java/com/gpudb/protocol/ShowProcStatusRequest" title="class in com.gpudb.protocol">ShowProcStatusRequest</a> request)</span> throws <span className="exceptions"><a href="/content/api/java/com/gpudb/GPUdbException" title="class in com.gpudb">GPUdbException</a></span></div>
        <div className="block">Shows the statuses of running or completed proc instances. Results are grouped by run ID (as returned from <a href="#executeProc(com.gpudb.protocol.ExecuteProcRequest)"><code>executeProc</code></a>) and data segment ID (each invocation of the proc command on a data segment is assigned a data segment ID).</div>

        <div className="dl notes">
          <div className="dt">Parameters:</div>
          <div className="dd"><code>request</code> - <a href="/content/api/java/com/gpudb/protocol/ShowProcStatusRequest" title="class in com.gpudb.protocol"><code>Request</code></a> object containing the parameters for the operation.</div>
          <div className="dt">Returns:</div>
          <div className="dd"><a href="/content/api/java/com/gpudb/protocol/ShowProcStatusResponse" title="class in com.gpudb.protocol"><code>Response</code></a> object containing the results of the operation.</div>
          <div className="dt">Throws:</div>
          <div className="dd"><code><a href="/content/api/java/com/gpudb/GPUdbException" title="class in com.gpudb">GPUdbException</a></code> - if an error occurs during the operation.</div>
        </div>
      </div>
    </li>

    <li>
      <div className="section detail" id="showProcStatus(java.lang.String,java.util.Map)">
        <h3>showProcStatus</h3>
        <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/ShowProcStatusResponse" title="class in com.gpudb.protocol">ShowProcStatusResponse</a></span> <span className="element-name">showProcStatus</span><wbr /><span className="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> runId, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link">Map</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>,<wbr /><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> options)</span> throws <span className="exceptions"><a href="/content/api/java/com/gpudb/GPUdbException" title="class in com.gpudb">GPUdbException</a></span></div>
        <div className="block">Shows the statuses of running or completed proc instances. Results are grouped by run ID (as returned from <a href="#executeProc(java.lang.String,java.util.Map,java.util.Map,java.util.List,java.util.Map,java.util.List,java.util.Map)"><code>executeProc</code></a>) and data segment ID (each invocation of the proc command on a data segment is assigned a data segment ID).</div>

        <div className="dl notes">
          <div className="dt">Parameters:</div>
          <div className="dd"><code>runId</code> - The run ID of a specific proc instance for which the status will be returned. If a proc with a matching run ID is not found, the response will be empty. If not specified, the statuses of all executed proc instances will be returned. The default value is ''.</div>

          <div className="dd">
            <code>options</code> - Optional parameters.

            <ul>
              <li>
                <a href="/content/api/java/com/gpudb/protocol/ShowProcStatusRequest.Options#CLEAR_COMPLETE"><code>CLEAR\_COMPLETE</code></a>: If set to <a href="/content/api/java/com/gpudb/protocol/ShowProcStatusRequest.Options#TRUE"><code>TRUE</code></a>, if a proc instance has completed (either successfully or unsuccessfully) then its status will be cleared and no longer returned in subsequent calls. Supported values:

                <ul>
                  <li><a href="/content/api/java/com/gpudb/protocol/ShowProcStatusRequest.Options#TRUE"><code>TRUE</code></a> </li>
                  <li><a href="/content/api/java/com/gpudb/protocol/ShowProcStatusRequest.Options#FALSE"><code>FALSE</code></a> </li>
                </ul>

                The default value is <a href="/content/api/java/com/gpudb/protocol/ShowProcStatusRequest.Options#FALSE"><code>FALSE</code></a>.
              </li>

              <li><a href="/content/api/java/com/gpudb/protocol/ShowProcStatusRequest.Options#RUN_TAG"><code>RUN\_TAG</code></a>: If <code>runId</code> is specified, return the status for a proc instance that has a matching run ID and a matching run tag that was provided to <a href="#executeProc(java.lang.String,java.util.Map,java.util.Map,java.util.List,java.util.Map,java.util.List,java.util.Map)"><code>executeProc</code></a>. If <code>runId</code> is not specified, return statuses for all proc instances where a matching run tag was provided to <a href="#executeProc(java.lang.String,java.util.Map,java.util.Map,java.util.List,java.util.Map,java.util.List,java.util.Map)"><code>executeProc</code></a>. The default value is ''. </li>
            </ul>

            The default value is an empty <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link"><code>Map</code></a>.
          </div>

          <div className="dt">Returns:</div>
          <div className="dd"><a href="/content/api/java/com/gpudb/protocol/ShowProcStatusResponse" title="class in com.gpudb.protocol"><code>Response</code></a> object containing the results of the operation.</div>
          <div className="dt">Throws:</div>
          <div className="dd"><code><a href="/content/api/java/com/gpudb/GPUdbException" title="class in com.gpudb">GPUdbException</a></code> - if an error occurs during the operation.</div>
        </div>
      </div>
    </li>
  </ul>
</div>
