<?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: Unknown statement in proc export in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Unknown-statement-in-proc-export/m-p/533374#M146225</link>
    <description>&lt;P&gt;As the link&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp; found says that strange command (or token) is something that PROC IMPORT/EXPORT generates and occasionally ends up in the SAS log.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;It doesn't cause any error and you can remove it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Someone must have copied the code from the log into their program and kept it because they weren't sure what it was.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Feb 2019 20:02:56 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2019-02-06T20:02:56Z</dc:date>
    <item>
      <title>Unknown statement in proc export</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unknown-statement-in-proc-export/m-p/533351#M146217</link>
      <description>&lt;P&gt;Hi community&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I came across this piece of code in a job.&amp;nbsp;The job writes several sheets to the same excel workbook in identical steps, just with different where-conditions and sheet names.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc export data=&amp;amp;_INPUT (where=(FejlID=2)) dbms=xlsx
	outfile="&amp;amp;xlsxfil" replace;
	WXLX;
	sheet="Kun AMMO";
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The code works as expected, and it executes without any errors, warnings or notes related to the WXLX statement in both Windows and Linux (9.4M5), so the stetement is accepted by Proc Export. But it is marked red in the enhanced editor, and I have not been able to find it documented anywhere, even uncle Google lets me down.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hate not beeing able to figure out what's going on in code I am running, so I hope that somebody in this community knows what&amp;nbsp; the statement does, and will take the time to explain it and - if possible - give a link to where it is documented. Thanks in advance.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 17:43:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unknown-statement-in-proc-export/m-p/533351#M146217</guid>
      <dc:creator>ErikLund_Jensen</dc:creator>
      <dc:date>2019-02-06T17:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown statement in proc export</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unknown-statement-in-proc-export/m-p/533367#M146222</link>
      <description>&lt;P&gt;A search for "sas proc export wxlx" gave me this:&amp;nbsp;&lt;A href="https://marc.info/?l=sas-l&amp;amp;m=147819121210860&amp;amp;w=2" target="_blank" rel="noopener"&gt;https://marc.info/?l=sas-l&amp;amp;m=147819121210860&amp;amp;w=2&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 19:17:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unknown-statement-in-proc-export/m-p/533367#M146222</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-02-06T19:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown statement in proc export</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unknown-statement-in-proc-export/m-p/533374#M146225</link>
      <description>&lt;P&gt;As the link&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp; found says that strange command (or token) is something that PROC IMPORT/EXPORT generates and occasionally ends up in the SAS log.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;It doesn't cause any error and you can remove it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Someone must have copied the code from the log into their program and kept it because they weren't sure what it was.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 20:02:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unknown-statement-in-proc-export/m-p/533374#M146225</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-02-06T20:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown statement in proc export</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unknown-statement-in-proc-export/m-p/534013#M146461</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks to both of you for taking time to clarify. I accept Tom's answer as a solution because og his convincing explanation of how it ended up in the code.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 17:08:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unknown-statement-in-proc-export/m-p/534013#M146461</guid>
      <dc:creator>ErikLund_Jensen</dc:creator>
      <dc:date>2019-02-08T17:08:29Z</dc:date>
    </item>
  </channel>
</rss>

