<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic SQL Error Messsages in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/SQL-Error-Messsages/m-p/43996#M11575</link>
    <description>Hi All,&lt;BR /&gt;
&lt;BR /&gt;
Is there a system option which will give me more meaningful error messages in EG than the below?&lt;BR /&gt;
&lt;BR /&gt;
ERROR: Prepare error: ICommandPrepare::Prepare failed. &lt;BR /&gt;
SQL statement: SELECT C.CLAIMID , C.CLAIMNUMBER , AI.DESCRIPTION , AI.ESTIMATEAMOUNT FROM CBMRV_ASSESSMENTITEM AI , CBMRV_INCIDENT &lt;BR /&gt;
       I , CBMRV_CLAIM C , CBMRVL_REFERENCELISTS VC , CBMRVL_REFERENCELISTS AA WHERE C.CLAIMID = I.CLAIMID AND I.INCIDENTID = &lt;BR /&gt;
       AI.INCIDENTID ORDER BY C.CLAIMID VC.DESCRIPTION.&lt;BR /&gt;
&lt;BR /&gt;
Thank you for your help.</description>
    <pubDate>Thu, 21 Jan 2010 06:45:36 GMT</pubDate>
    <dc:creator>Scottcom4</dc:creator>
    <dc:date>2010-01-21T06:45:36Z</dc:date>
    <item>
      <title>SQL Error Messsages</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SQL-Error-Messsages/m-p/43996#M11575</link>
      <description>Hi All,&lt;BR /&gt;
&lt;BR /&gt;
Is there a system option which will give me more meaningful error messages in EG than the below?&lt;BR /&gt;
&lt;BR /&gt;
ERROR: Prepare error: ICommandPrepare::Prepare failed. &lt;BR /&gt;
SQL statement: SELECT C.CLAIMID , C.CLAIMNUMBER , AI.DESCRIPTION , AI.ESTIMATEAMOUNT FROM CBMRV_ASSESSMENTITEM AI , CBMRV_INCIDENT &lt;BR /&gt;
       I , CBMRV_CLAIM C , CBMRVL_REFERENCELISTS VC , CBMRVL_REFERENCELISTS AA WHERE C.CLAIMID = I.CLAIMID AND I.INCIDENTID = &lt;BR /&gt;
       AI.INCIDENTID ORDER BY C.CLAIMID VC.DESCRIPTION.&lt;BR /&gt;
&lt;BR /&gt;
Thank you for your help.</description>
      <pubDate>Thu, 21 Jan 2010 06:45:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SQL-Error-Messsages/m-p/43996#M11575</guid>
      <dc:creator>Scottcom4</dc:creator>
      <dc:date>2010-01-21T06:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error Messsages</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SQL-Error-Messsages/m-p/43997#M11576</link>
      <description>You probably should open a track on SAS support for this.&lt;BR /&gt;
There are a number of usage notes that describes different kind of prepare errors.&lt;BR /&gt;
I'm not sure if you can get any more information than this. If your data resides in an external RDBMS, you could try the sastrace global option, see on-line doc for details.&lt;BR /&gt;
/Linus</description>
      <pubDate>Thu, 21 Jan 2010 07:38:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SQL-Error-Messsages/m-p/43997#M11576</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2010-01-21T07:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error Messsages</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SQL-Error-Messsages/m-p/43998#M11577</link>
      <description>surprising to see no FROM in the generated syntax</description>
      <pubDate>Sun, 24 Jan 2010 18:37:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SQL-Error-Messsages/m-p/43998#M11577</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2010-01-24T18:37:25Z</dc:date>
    </item>
  </channel>
</rss>

