<?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 Re: PROC EXPORT Error in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-Error/m-p/76516#M22190</link>
    <description>Were all of these tables created the same way?</description>
    <pubDate>Thu, 22 Oct 2009 15:01:01 GMT</pubDate>
    <dc:creator>CurtisMack</dc:creator>
    <dc:date>2009-10-22T15:01:01Z</dc:date>
    <item>
      <title>PROC EXPORT Error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-Error/m-p/76513#M22187</link>
      <description>Hi,&lt;BR /&gt;
I’m trying to output a lot of query results to a Excel workbook. All querys export correctly with the exception of the last 2 of them. This first part is the code that runs all correctly if I remove the last 2 code. In the end, that’s the log-report. I’ve check the server, check the table name, I’ve check if the table runs or not, I’ve tried to change the label of the columns, format the numbers. The most strange is that all tables are very similar, all export except that 2. I’m already sick with this. Please help me.  &lt;BR /&gt;
&lt;BR /&gt;
code --- &amp;gt;&amp;gt;&amp;gt;-----------------------------------------------------------------------------------&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
PROC EXPORT DATA= WORK.EXP_X005&lt;BR /&gt;
OUTFILE= "E:\base.xls"&lt;BR /&gt;
DBMS=EXCEL REPLACE;&lt;BR /&gt;
SHEET="EXP_X005";&lt;BR /&gt;
PROC EXPORT DATA= WORK.EXP_X008_1&lt;BR /&gt;
OUTFILE= "E:\base.xls"&lt;BR /&gt;
DBMS=EXCEL REPLACE;&lt;BR /&gt;
SHEET="EXP_X008_1";&lt;BR /&gt;
PROC EXPORT DATA= WORK.EXP_X008_2&lt;BR /&gt;
OUTFILE= "E:\base.xls"&lt;BR /&gt;
DBMS=EXCEL REPLACE;&lt;BR /&gt;
SHEET="EXP_X008_2";&lt;BR /&gt;
PROC EXPORT DATA= WORK.EXP_X009_X032&lt;BR /&gt;
OUTFILE= "E:\base.xls"&lt;BR /&gt;
DBMS=EXCEL REPLACE;&lt;BR /&gt;
SHEET="EXP_X009_X032";&lt;BR /&gt;
PROC EXPORT DATA= WORK.EXP_X011_1&lt;BR /&gt;
OUTFILE= "E:\base.xls"&lt;BR /&gt;
DBMS=EXCEL REPLACE;&lt;BR /&gt;
SHEET="EXP_X011_1";&lt;BR /&gt;
PROC EXPORT DATA= WORK.EXP_X011_2&lt;BR /&gt;
OUTFILE= "E:\base.xls"&lt;BR /&gt;
DBMS=EXCEL REPLACE;&lt;BR /&gt;
SHEET="EXP_X011_2";&lt;BR /&gt;
PROC EXPORT DATA= WORK.EXP_X013&lt;BR /&gt;
OUTFILE= "E:\base.xls"&lt;BR /&gt;
DBMS=EXCEL REPLACE;&lt;BR /&gt;
SHEET="EXP_X013";&lt;BR /&gt;
PROC EXPORT DATA= WORK.EXP_X014&lt;BR /&gt;
OUTFILE= "E:\base.xls"&lt;BR /&gt;
DBMS=EXCEL REPLACE;&lt;BR /&gt;
SHEET="EXP_X014";&lt;BR /&gt;
PROC EXPORT DATA= WORK.EXP_X015&lt;BR /&gt;
OUTFILE= "E:\base.xls"&lt;BR /&gt;
DBMS=EXCEL REPLACE;&lt;BR /&gt;
SHEET="EXP_X015";&lt;BR /&gt;
PROC EXPORT DATA= WORK.EXP_X016&lt;BR /&gt;
OUTFILE= "E:\base.xls"&lt;BR /&gt;
DBMS=EXCEL REPLACE;&lt;BR /&gt;
SHEET="EXP_X016";&lt;BR /&gt;
PROC EXPORT DATA= WORK.EXP_X017&lt;BR /&gt;
OUTFILE= "E:\base.xls"&lt;BR /&gt;
DBMS=EXCEL REPLACE;&lt;BR /&gt;
SHEET="EXP_X017";&lt;BR /&gt;
PROC EXPORT DATA= WORK.EXP_X018&lt;BR /&gt;
OUTFILE= "E:\base.xls"&lt;BR /&gt;
DBMS=EXCEL REPLACE;&lt;BR /&gt;
SHEET="EXP_X018";&lt;BR /&gt;
PROC EXPORT DATA= WORK.EXP_X019&lt;BR /&gt;
OUTFILE= "E:\base.xls"&lt;BR /&gt;
DBMS=EXCEL REPLACE;&lt;BR /&gt;
SHEET="EXP_X019";&lt;BR /&gt;
PROC EXPORT DATA= WORK.EXP_X024&lt;BR /&gt;
OUTFILE= "E:\base.xls"&lt;BR /&gt;
DBMS=EXCEL REPLACE;&lt;BR /&gt;
SHEET="EXP_X024";&lt;BR /&gt;
PROC EXPORT DATA= WORK.EXP_X003&lt;BR /&gt;
OUTFILE= "E:\base.xls"&lt;BR /&gt;
DBMS=EXCEL REPLACE;&lt;BR /&gt;
SHEET="EXP_X003";&lt;BR /&gt;
PROC EXPORT DATA= WORK.EXP_X020&lt;BR /&gt;
OUTFILE= "E:\base.xls"&lt;BR /&gt;
DBMS=EXCEL REPLACE;&lt;BR /&gt;
SHEET="EXP_X020";&lt;BR /&gt;
&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
log error --- &amp;gt;&amp;gt;&amp;gt;-----------------------------------------------------------------------------------&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&lt;BR /&gt;
1          ;*';*";*/;quit;run;&lt;BR /&gt;
2          OPTIONS PAGENO=MIN;&lt;BR /&gt;
3          %LET _CLIENTTASKLABEL=%NRBQUOTE(TESTEE resultados);&lt;BR /&gt;
4          %LET _EGTASKLABEL=%NRBQUOTE(TESTEE resultados);&lt;BR /&gt;
5          %LET _CLIENTPROJECTNAME=%NRBQUOTE(E:\Rx Docs\GCS\Rx SAS Projects\Projectos&lt;BR /&gt;
5        ! Efectivos\GIGA FILES\100 Indicadores Gestão v1.egp);&lt;BR /&gt;
6          %LET _SASPROGRAMFILE=;&lt;BR /&gt;
7          &lt;BR /&gt;
8          ODS _ALL_ CLOSE;&lt;BR /&gt;
NOTE: Some of your options or statements may not be supported with the Activex or Java series of &lt;BR /&gt;
      devices.  Graph defaults for these drivers may be different from other SAS/GRAPH device &lt;BR /&gt;
      drivers.  For further information, please contact Technical Support.&lt;BR /&gt;
9          OPTIONS DEV=ACTIVEX;&lt;BR /&gt;
10         FILENAME EGHTML TEMP;&lt;BR /&gt;
NOTE: Writing HTML(EGHTML) Body file: EGHTML&lt;BR /&gt;
11         ODS HTML(ID=EGHTML) FILE=EGHTML ENCODING='utf-8' STYLE=EGDefault&lt;BR /&gt;
11       ! STYLESHEET=(URL="file:///C:/Program%20Files/SAS/Shared%20Files/BIClientStyles/EGDefault&lt;BR /&gt;
11       ! .css") ATTRIBUTES=("CODEBASE"="http://www2.sas.com/codebase/graph/v91/sasgraph.exe")&lt;BR /&gt;
11       ! NOGTITLE NOGFOOTNOTE GPATH=&amp;amp;sasworklocation;&lt;BR /&gt;
12         &lt;BR /&gt;
13         %gaccessible;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
14         PROC EXPORT DATA= WORK.EXP_X003&lt;BR /&gt;
15         OUTFILE= "E:\base.xls"&lt;BR /&gt;
16         DBMS=EXCEL REPLACE;&lt;BR /&gt;
17         SHEET="EXP_X003";&lt;BR /&gt;
&lt;BR /&gt;
1                                         The SAS System          12:02 Thursday, October 22, 2009&lt;BR /&gt;
&lt;BR /&gt;
ERROR: File WORK.EXP_X003.DATA does not exist.&lt;BR /&gt;
18         PROC EXPORT DATA= WORK.EXP_X020&lt;BR /&gt;
NOTE: PROCEDURE EXPORT used (Total process time):&lt;BR /&gt;
      real time           0.71 seconds&lt;BR /&gt;
      cpu time            0.06 seconds&lt;BR /&gt;
      &lt;BR /&gt;
ERROR: Export unsuccessful.  See SAS Log for details.&lt;BR /&gt;
NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;
&lt;BR /&gt;
19         OUTFILE= "E:\base.xls"&lt;BR /&gt;
20         DBMS=EXCEL REPLACE;&lt;BR /&gt;
21         SHEET="EXP_X020";&lt;BR /&gt;
22         &lt;BR /&gt;
23         RUN;&lt;BR /&gt;
&lt;BR /&gt;
1                                         The SAS System          12:02 Thursday, October 22, 2009&lt;BR /&gt;
&lt;BR /&gt;
ERROR: File WORK.EXP_X020.DATA does not exist.&lt;BR /&gt;
NOTE: PROCEDURE EXPORT used (Total process time):&lt;BR /&gt;
      real time           0.54 seconds&lt;BR /&gt;
      cpu time            0.06 seconds&lt;BR /&gt;
      &lt;BR /&gt;
ERROR: Export unsuccessful.  See SAS Log for details.&lt;BR /&gt;
NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;
24         &lt;BR /&gt;
25         &lt;BR /&gt;
26         %LET _CLIENTTASKLABEL=;&lt;BR /&gt;
27         %LET _EGTASKLABEL=;&lt;BR /&gt;
2                                         The SAS System         10:32 Wednesday, October 21, 2009&lt;BR /&gt;
&lt;BR /&gt;
28         %LET _CLIENTPROJECTNAME=;&lt;BR /&gt;
29         %LET _SASPROGRAMFILE=;&lt;BR /&gt;
30         &lt;BR /&gt;
31         ;*';*";*/;quit;run;&lt;BR /&gt;
32         ODS _ALL_ CLOSE;&lt;BR /&gt;
33         &lt;BR /&gt;
34         &lt;BR /&gt;
35         QUIT; RUN;&lt;BR /&gt;
36</description>
      <pubDate>Thu, 22 Oct 2009 14:32:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-Error/m-p/76513#M22187</guid>
      <dc:creator>rxnohadd</dc:creator>
      <dc:date>2009-10-22T14:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT Error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-Error/m-p/76514#M22188</link>
      <description>The error you are getting says that the SAS datasets WORK.EXP_X003 &amp;amp; WORK.EXP_X020 don't exist.  Have you checked that they do, and that they are valid datasets?</description>
      <pubDate>Thu, 22 Oct 2009 14:39:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-Error/m-p/76514#M22188</guid>
      <dc:creator>CurtisMack</dc:creator>
      <dc:date>2009-10-22T14:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT Error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-Error/m-p/76515#M22189</link>
      <description>Yes, i open all tables including those 2. The most estrange is because i can see the both dataset results and i can export the 2 tables via wizard.  Only in code Proc Export doesn’t work and doesn’t export.</description>
      <pubDate>Thu, 22 Oct 2009 14:58:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-Error/m-p/76515#M22189</guid>
      <dc:creator>rxnohadd</dc:creator>
      <dc:date>2009-10-22T14:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT Error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-Error/m-p/76516#M22190</link>
      <description>Were all of these tables created the same way?</description>
      <pubDate>Thu, 22 Oct 2009 15:01:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-Error/m-p/76516#M22190</guid>
      <dc:creator>CurtisMack</dc:creator>
      <dc:date>2009-10-22T15:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT Error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-Error/m-p/76517#M22191</link>
      <description>Yes,&lt;BR /&gt;
There are 50 queries that end's with tables (x001, x002, etc) and only those 2 doesn't export.&lt;BR /&gt;
but i find a "solution". if i save the query result on a sasuser server instead of saswork, the PROC EXPORT runs without errors...

thanks for your interess&lt;BR /&gt;
&lt;BR /&gt;
    &lt;BR /&gt;
Message was edited by: rxnohadd</description>
      <pubDate>Thu, 22 Oct 2009 15:16:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-Error/m-p/76517#M22191</guid>
      <dc:creator>rxnohadd</dc:creator>
      <dc:date>2009-10-22T15:16:19Z</dc:date>
    </item>
  </channel>
</rss>

