<?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 ERROR: File WORK.tablename.DATA does not exist. in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-File-WORK-tablename-DATA-does-not-exist/m-p/269380#M18655</link>
    <description>&lt;P&gt;I'm trying to execte simple proc-sql but it give an error that&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ERROR: File WORK.HOTELS_HOTELCANCELLATION.DATA does not exist. HOTELS_HOTELCANCELLATION is table name


proc sql ; 
connect to odbc (dsn=inventory user=goibibo password=''); 
SELECT id, cancelid, bookingobj_id, bookingamount, refundedamount, cancellationcharges, nettbookingamount, 
nettrefundedamount, nettcancellationcharges, 
(CASE WHEN confirmationflag = true THEN 'Confirmation flag is true' WHEN confirmationflag = false THEN 'Confirmation flag is false' END) as confirmationflag, 
(CASE WHEN payathotelflag = true THEN 'PAH flag is true' WHEN payathotelflag = false THEN 'PAH flag is false' END) as payathotelflag, 
(CASE WHEN reconfirmationflag = true THEN 'Reconfirmation flag is true' WHEN reconfirmationflag = false THEN 'Reconfirmationflag flag is true' END) as reconfirmationflag, 
hotelstatus, vendorstatus, createdon, modifiedon 
FROM hotels_hotelcancellation WHERE createdon BETWEEN '2016-05-01 00:00:00' AND '2016-05-08 23:59:95'; 
disconnect from odbc; 
quit ;
&amp;nbsp;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 10 May 2016 11:14:23 GMT</pubDate>
    <dc:creator>singhashupratap</dc:creator>
    <dc:date>2016-05-10T11:14:23Z</dc:date>
    <item>
      <title>ERROR: File WORK.tablename.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-File-WORK-tablename-DATA-does-not-exist/m-p/269380#M18655</link>
      <description>&lt;P&gt;I'm trying to execte simple proc-sql but it give an error that&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ERROR: File WORK.HOTELS_HOTELCANCELLATION.DATA does not exist. HOTELS_HOTELCANCELLATION is table name


proc sql ; 
connect to odbc (dsn=inventory user=goibibo password=''); 
SELECT id, cancelid, bookingobj_id, bookingamount, refundedamount, cancellationcharges, nettbookingamount, 
nettrefundedamount, nettcancellationcharges, 
(CASE WHEN confirmationflag = true THEN 'Confirmation flag is true' WHEN confirmationflag = false THEN 'Confirmation flag is false' END) as confirmationflag, 
(CASE WHEN payathotelflag = true THEN 'PAH flag is true' WHEN payathotelflag = false THEN 'PAH flag is false' END) as payathotelflag, 
(CASE WHEN reconfirmationflag = true THEN 'Reconfirmation flag is true' WHEN reconfirmationflag = false THEN 'Reconfirmationflag flag is true' END) as reconfirmationflag, 
hotelstatus, vendorstatus, createdon, modifiedon 
FROM hotels_hotelcancellation WHERE createdon BETWEEN '2016-05-01 00:00:00' AND '2016-05-08 23:59:95'; 
disconnect from odbc; 
quit ;
&amp;nbsp;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 May 2016 11:14:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-File-WORK-tablename-DATA-does-not-exist/m-p/269380#M18655</guid>
      <dc:creator>singhashupratap</dc:creator>
      <dc:date>2016-05-10T11:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: File WORK.tablename.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-File-WORK-tablename-DATA-does-not-exist/m-p/269383#M18656</link>
      <description>&lt;P&gt;You are mixing the concepts&amp;nbsp;of implicit and explicit SQL pass thru.&lt;/P&gt;
&lt;P&gt;The CONNECT statement prepares you to do explicit SQL pass thru.&lt;/P&gt;
&lt;P&gt;But you need an outer select statement that&amp;nbsp;calls your SQL&amp;nbsp;which encapsulated:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;select *&amp;nbsp;&lt;/P&gt;
&lt;P&gt;from connection to odbc (&lt;EM&gt;your SQL goes here&lt;/EM&gt;...);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An alternative is to use&amp;nbsp;a libname to your ODBC&amp;nbsp;data source, then you can skip all this "connect to" and "from connection to". But then you need to use SAS/ANSI SQL instead...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See online doc for SAS/ACCESS for syntax and examples.&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 11:38:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-File-WORK-tablename-DATA-does-not-exist/m-p/269383#M18656</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-05-10T11:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: File WORK.tablename.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-File-WORK-tablename-DATA-does-not-exist/m-p/269397#M18657</link>
      <description>I do it this way&lt;BR /&gt;&lt;BR /&gt;libname inibibo '/sasdata/sasdemo1/ingoibibo';&lt;BR /&gt;&lt;BR /&gt;proc sql EXEC;&lt;BR /&gt;connect to odbc (dsn=inventory user=goibibo password='');&lt;BR /&gt;select * from connection to odbc&lt;BR /&gt;(SELECT id, cancelid, bookingobj_id, bookingamount, refundedamount, cancellationcharges, nettbookingamount,&lt;BR /&gt;nettrefundedamount, nettcancellationcharges,&lt;BR /&gt;(CASE WHEN confirmationflag = true THEN 'Confirmation flag is true' WHEN confirmationflag = false THEN 'Confirmation flag is false' END) as confirmationflag,&lt;BR /&gt;(CASE WHEN payathotelflag = true THEN 'PAH flag is true' WHEN payathotelflag = false THEN 'PAH flag is false' END) as payathotelflag,&lt;BR /&gt;(CASE WHEN reconfirmationflag = true THEN 'Reconfirmation flag is true' WHEN reconfirmationflag = false THEN 'Reconfirmationflag flag is true' END) as reconfirmationflag,&lt;BR /&gt;hotelstatus, vendorstatus, createdon, modifiedon&lt;BR /&gt;FROM HOTELS_HOTELCANCELLATION WHERE createdon BETWEEN '2016-05-01 00:00:00' AND '2016-05-08 23:59:95');&lt;BR /&gt;disconnect from odbc;&lt;BR /&gt;quit ;&lt;BR /&gt;&lt;BR /&gt;getting error that NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.&lt;BR /&gt;35 disconnect from odbc;&lt;BR /&gt;NOTE: Statement not executed due to NOEXEC option.</description>
      <pubDate>Tue, 10 May 2016 12:37:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-File-WORK-tablename-DATA-does-not-exist/m-p/269397#M18657</guid>
      <dc:creator>singhashupratap</dc:creator>
      <dc:date>2016-05-10T12:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: File WORK.tablename.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-File-WORK-tablename-DATA-does-not-exist/m-p/269619#M18669</link>
      <description>I think that there are more information in the log...?</description>
      <pubDate>Wed, 11 May 2016 03:47:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-File-WORK-tablename-DATA-does-not-exist/m-p/269619#M18669</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-05-11T03:47:40Z</dc:date>
    </item>
  </channel>
</rss>

