<!--
* 
*
*  ProLinga-Doc
*
*  Copyright (C) 2002-2008 Xobas Software.
*  All rights reserved.
*  
*  This file is part of ProLinga-Doc.
*
*  ProLinga-Doc is free software: you can redistribute it and/or modify
*  it under the terms of the GNU General Public License as published by
*  the Free Software Foundation, either version 3 of the License, or
*  (at your option) any later version.
*
*  ProLinga-Doc is distributed in the hope that it will be useful,
*  but WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*  GNU General Public License for more details.
*
*  You should have received a copy of the GNU General Public License
*  along with ProLinga-Doc.  If not, see <http://www.gnu.org/licenses/>.
*
*  More information is available at the following addresses:
*
*  Website     : http://www.prolinga.org
*
*  Email       : prolinga-list@prolinga.org
*
*
-->
    <reference id="reference_error_status_repositorystatus">
      <title>REPOSITORYSTATUS</title>

      <para>The 4GL command REPOSITORY returns a REPOSITORYSTATUS() for
      every command and can contain the following values:
      </para>

      <table frame='all' pgwide='1'>
        <title>REPOSITORYSTATUS</title>
        <tgroup cols='3' align='left' colsep='1' rowsep='1'>
          <thead>
            <row>
              <entry>Value</entry>
              <entry>Description</entry>
              <entry>Additional Information</entry>
            </row>
          </thead>
          <tbody>
            <row>
              <entry>0</entry>
              <entry>Command processed successfully.</entry>
              <entry>All OK.</entry>
            </row>
            <row>
              <entry>10101</entry>
              <entry>Incorrect data interface type.</entry>
              <entry>Set the data interface type to 'Repository' for the table.</entry>
            </row>
            <row>
              <entry>10102</entry>
              <entry>Can not get record.</entry>
              <entry>Check the name of the record.</entry>
            </row>
            <row>
              <entry>10103</entry>
              <entry>Can not put record.</entry>
              <entry>Check the name of the record and the permissions of the repository.</entry>
            </row>
            <row>
              <entry>10104</entry>
              <entry>Can not get iteration record.</entry>
              <entry>Check the name of the record and dictionaries in the iteration record.</entry>
            </row>
            <row>
              <entry>10105</entry>
              <entry>Can not delete record.</entry>
              <entry>Record does not exist. Check the name of the record.</entry>
            </row>
            <row>
              <entry>10198</entry>
              <entry>Feature not implemented yet.</entry>
              <entry>Please contact support about the status of this feature.</entry>
            </row>
            <row>
              <entry>10199</entry>
              <entry>Unknown error.</entry>
              <entry>No additional info. Please contact support.</entry>
            </row>
          </tbody>
        </tgroup>
      </table>
    </reference>

    <reference id="reference_error_status_sqlstatus">
      <title>SQLSTATUS</title>

      <para>The 4GL command SQL and TRANSACTION return a SQLSTATUS() for
      every command and can contain the following values:
      </para>

      <table frame='all' pgwide='1'>
        <title>SQLSTATUS</title>
        <tgroup cols='3' align='left' colsep='1' rowsep='1'>
          <thead>
            <row>
              <entry>Value</entry>
              <entry>Description</entry>
              <entry>Additional Information</entry>
            </row>
          </thead>
          <tbody>
            <row>
              <entry>0</entry>
              <entry>Command processed successfully.</entry>
              <entry>All OK.</entry>
            </row>
            <row>
              <entry>10201</entry>
              <entry>Already connected.</entry>
              <entry>Already connected to a data source. Data source remains open.</entry>
            </row>
            <row>
              <entry>10202</entry>
              <entry>Can not close connection.</entry>
              <entry>No connection to close. Connection already closed or was never opened.</entry>
            </row>
            <row>
              <entry>10203</entry>
              <entry>Error in 3rd party product using 'ACTION' statement.</entry>
              <entry>Refer to log files for more details.</entry>
            </row>
            <row>
              <entry>10204</entry>
              <entry>Error executing 'ACTION' sql statement.</entry>
              <entry>Refer to log files for more details.</entry>
            </row>
            <row>
              <entry>10205</entry>
              <entry>Error in 3rd party product using DataModel query.</entry>
              <entry>Refer to log files for more details.</entry>
            </row>
            <row>
              <entry>10206</entry>
              <entry>Error executing DataModel query.</entry>
              <entry>Refer to log files for more details.</entry>
            </row>
            <row>
              <entry>10207</entry>
              <entry>Error in 3rd party product using Transaction.</entry>
              <entry>Refer to log files for more details.</entry>
            </row>
            <row>
              <entry>10208</entry>
              <entry>Error executing Transaction.</entry>
              <entry>Refer to log files for more details.</entry>
            </row>
            <row>
              <entry>10209</entry>
              <entry>Can not load DataSource object.</entry>
              <entry>Validate application and resolve errors.</entry>
            </row>
            <row>
              <entry>10210</entry>
              <entry>Can not open connection.</entry>
              <entry>Check connection configuration.</entry>
            </row>
            <row>
              <entry>10211</entry>
              <entry>Can not open data source.</entry>
              <entry>Check data source object and connection configuration.</entry>
            </row>
            <row>
              <entry>10212</entry>
              <entry>Can not close data source.</entry>
              <entry>Data Source already closed or was never opened.</entry>
            </row>
            <row>
              <entry>10213</entry>
              <entry>Can not close connection.</entry>
              <entry>Connection already closed or was never opened.</entry>
            </row>
            <row>
              <entry>10298</entry>
              <entry>Feature not implemented yet.</entry>
              <entry>Please contact support about the status of this feature.</entry>
            </row>
            <row>
              <entry>10299</entry>
              <entry>Unknown error.</entry>
              <entry>No additional info. Please contact support.</entry>
            </row>
          </tbody>
        </tgroup>
      </table>
    </reference>


    <reference id="reference_error_status_threadstatus">
      <title>THREADSTATUS</title>

      <para>The 4GL command THREAD returns a THREADSTATUS() for
      every command and can contain the following values:
      </para>

      <table frame='all' pgwide='1'>
        <title>THREADSTATUS</title>
        <tgroup cols='3' align='left' colsep='1' rowsep='1'>
          <thead>
            <row>
              <entry>Value</entry>
              <entry>Description</entry>
              <entry>Additional Information</entry>
            </row>
          </thead>
          <tbody>
            <row>
              <entry>0</entry>
              <entry>Command processed successfully.</entry>
              <entry>All OK.</entry>
            </row>
            <row>
              <entry>10301</entry>
              <entry>Can not start thread from thread.</entry>
              <entry>Threads can only be started from the main thread and can not be nested.</entry>
            </row>
            <row>
              <entry>10302</entry>
              <entry>Can not get thread object.</entry>
              <entry>Validate application and resolve errors.</entry>
            </row>
            <row>
              <entry>10303</entry>
              <entry>Can not get thread id.</entry>
              <entry>No thread is running.</entry>
            </row>
            <row>
              <entry>10398</entry>
              <entry>Feature not implemented yet.</entry>
              <entry>Please contact support about the status of this feature.</entry>
            </row>
            <row>
              <entry>10399</entry>
              <entry>Unknown error.</entry>
              <entry>No additional info. Please contact support.</entry>
            </row>
          </tbody>
        </tgroup>
      </table>
    </reference>


    <reference id="reference_error_status_textstatus">
      <title>TEXTSTATUS</title>

      <para>The 4GL command TEXT returns a TEXTSTATUS() for
      every command and can contain the following values:
      </para>

      <table frame='all' pgwide='1'>
        <title>TEXTSTATUS</title>
        <tgroup cols='3' align='left' colsep='1' rowsep='1'>
          <thead>
            <row>
              <entry>Value</entry>
              <entry>Description</entry>
              <entry>Additional Information</entry>
            </row>
          </thead>
          <tbody>
            <row>
              <entry>0</entry>
              <entry>Command processed successfully.</entry>
              <entry>All OK.</entry>
            </row>
            <row>
              <entry>10401</entry>
              <entry>Can not open file for reading.</entry>
              <entry>Check path, name and permissions of input file.</entry>
            </row>
            <row>
              <entry>10402</entry>
              <entry>Can not open file for writing.</entry>
              <entry>Check path, name and permissions of output file.</entry>
            </row>
            <row>
              <entry>10403</entry>
              <entry>Invalid line number.</entry>
              <entry>Line number can not be greater than number of lines in the source.</entry>
            </row>
            <row>
              <entry>10498</entry>
              <entry>Feature not implemented yet.</entry>
              <entry>Please contact support about the status of this feature.</entry>
            </row>
            <row>
              <entry>10499</entry>
              <entry>Unknown error.</entry>
              <entry>No additional info. Please contact support.</entry>
            </row>
          </tbody>
        </tgroup>
      </table>
    </reference>

    <reference id="reference_error_status_xmlstatus">
      <title>XMLSTATUS</title>

      <para>The 4GL command XML returns an XMLSTATUS() for
      every command and can contain the following values:
      </para>

      <table frame='all' pgwide='1'>
        <title>XMLSTATUS</title>
        <tgroup cols='3' align='left' colsep='1' rowsep='1'>
          <thead>
            <row>
              <entry>Value</entry>
              <entry>Description</entry>
              <entry>Additional Information</entry>
            </row>
          </thead>
          <tbody>
            <row>
              <entry>0</entry>
              <entry>Command processed successfully.</entry>
              <entry>All OK.</entry>
            </row>
            <row>
              <entry>10501</entry>
              <entry>Node name can not contain full path.</entry>
              <entry>Use pathless node name ie 'contents' instead of '/book/contents'</entry>
            </row>
            <row>
              <entry>10502</entry>
              <entry>Error counting nodes.</entry>
              <entry>Check node name. Full paths in node name is allowed.</entry>
            </row>
            <row>
              <entry>10503</entry>
              <entry>Can not parse file name.</entry>
              <entry>Check if contents of file is valid XML.</entry>
            </row>
            <row>
              <entry>10504</entry>
              <entry>Can not parse TextDocument.</entry>
              <entry>Check if contents of TextDocument is valid XML.</entry>
            </row>
            <row>
              <entry>10505</entry>
              <entry>Invalid operation.</entry>
              <entry>Validate logic to check 4GL syntax.</entry>
            </row>
            <row>
              <entry>10506</entry>
              <entry>Can not read attribute.</entry>
              <entry>Check name of attribute and if attibute does exist.</entry>
            </row>
            <row>
              <entry>10507</entry>
              <entry>Can not read element.</entry>
              <entry>Check name of element and if element does exist.</entry>
            </row>
            <row>
              <entry>10508</entry>
              <entry>Can not locate node.</entry>
              <entry>Check name of node and if node does exist.</entry>
            </row>
            <row>
              <entry>10509</entry>
              <entry>Can not open file for writing.</entry>
              <entry>Check path, name and permissions of output file.</entry>
            </row>
            <row>
              <entry>10510</entry>
              <entry>Can not copy XmlDocument.</entry>
              <entry>Check if XmlDocument does exist.</entry>
            </row>
            <row>
              <entry>10511</entry>
              <entry>Can not load XSLT stylesheet.</entry>
              <entry>Check if contents of stylesheet is valid.</entry>
            </row>
            <row>
              <entry>10512</entry>
              <entry>Can not transform XML using XSLT.</entry>
              <entry>Check both if XML and XSLT are valid.</entry>
            </row>
            <row>
              <entry>10513</entry>
              <entry>Can not write XSLT transformed document to disk.</entry>
              <entry>Check if output file, path and permissions are correct.</entry>
            </row>
            <row>
              <entry>10514</entry>
              <entry>Can not write XSLT transformed document to TextDocument.</entry>
              <entry>Check if TextDocument does exist.</entry>
            </row>
            <row>
              <entry>10598</entry>
              <entry>Feature not implemented yet.</entry>
              <entry>Please contact support about the status of this feature.</entry>
            </row>
            <row>
              <entry>10599</entry>
              <entry>Unknown error.</entry>
              <entry>No additional info. Please contact support.</entry>
            </row>
          </tbody>
        </tgroup>
      </table>
    </reference>
