<?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: Export as a step - including a variable in the output filename? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Export-as-a-step-including-a-variable-in-the-output-filename/m-p/134082#M36377</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you've created your prompt as &amp;amp;color then take the export code and modify it so that its something like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc export data=have out=&amp;amp;color._output....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 May 2013 18:44:30 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2013-05-14T18:44:30Z</dc:date>
    <item>
      <title>Export as a step - including a variable in the output filename?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Export-as-a-step-including-a-variable-in-the-output-filename/m-p/134081#M36376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how, using the Export File step in an EG project, to include a variable value in the output filename?&amp;nbsp; For example, if the report prompts for a favorite colour and I pick Red, I'd like for Red to appear in the filename of the saved report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2013 17:52:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Export-as-a-step-including-a-variable-in-the-output-filename/m-p/134081#M36376</guid>
      <dc:creator>Tarun</dc:creator>
      <dc:date>2013-05-14T17:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Export as a step - including a variable in the output filename?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Export-as-a-step-including-a-variable-in-the-output-filename/m-p/134082#M36377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you've created your prompt as &amp;amp;color then take the export code and modify it so that its something like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc export data=have out=&amp;amp;color._output....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2013 18:44:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Export-as-a-step-including-a-variable-in-the-output-filename/m-p/134082#M36377</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-05-14T18:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Export as a step - including a variable in the output filename?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Export-as-a-step-including-a-variable-in-the-output-filename/m-p/134083#M36378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tarun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reeza's approach won't work with the point-n-click interface to the EGuide export file task.&amp;nbsp; It would only work with hard-coding for exporting SAS datasets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've never been able to do it, but would love to know how.&amp;nbsp; I've also tried to include the macro value in the result name to no success.&amp;nbsp; It may be an item for a SAS Ballot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc Muhlbaier&lt;/P&gt;&lt;P&gt;Duke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 13:48:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Export-as-a-step-including-a-variable-in-the-output-filename/m-p/134083#M36378</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2013-05-15T13:48:42Z</dc:date>
    </item>
  </channel>
</rss>

