<?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: Multiple Dataset Options in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Multiple-Dataset-Options/m-p/637904#M189666</link>
    <description>Thanks so much for the help!</description>
    <pubDate>Mon, 06 Apr 2020 17:38:42 GMT</pubDate>
    <dc:creator>buechler66</dc:creator>
    <dc:date>2020-04-06T17:38:42Z</dc:date>
    <item>
      <title>Multiple Dataset Options</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-Dataset-Options/m-p/637900#M189664</link>
      <description>&lt;P&gt;Hi.&amp;nbsp; I can't seem to get the syntax right for include both these Dataset Options and keep getting errors.&amp;nbsp; For the out= ORIG_SITES dataset I want to drop Destination_Code and also rename Origin_Code.&amp;nbsp; Is this possible?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SORT NO_DUP_KEY DATA=FAC_TYPE_IND OUT=ORIG_SITES (DROP=DESTINATION_CODE) (RENAME ORIGIN_CODE=SITE_ID);
BY ORIGIN_CODE;
RUN;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 06 Apr 2020 17:30:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-Dataset-Options/m-p/637900#M189664</guid>
      <dc:creator>buechler66</dc:creator>
      <dc:date>2020-04-06T17:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Dataset Options</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-Dataset-Options/m-p/637902#M189665</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SORT NO_DUP_KEY DATA=FAC_TYPE_IND OUT=ORIG_SITES (DROP=DESTINATION_CODE RENAME = ( ORIGIN_CODE=SITE_ID));
BY ORIGIN_CODE;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The secondary brackets are not needed around RENAME if you're only doing one variable, but if you're doing more it's necessary so I default to including it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/79805"&gt;@buechler66&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi.&amp;nbsp; I can't seem to get the syntax right for include both these Dataset Options and keep getting errors.&amp;nbsp; For the out= ORIG_SITES dataset I want to drop Destination_Code and also rename Origin_Code.&amp;nbsp; Is this possible?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SORT NO_DUP_KEY DATA=FAC_TYPE_IND OUT=ORIG_SITES (DROP=DESTINATION_CODE) (RENAME ORIGIN_CODE=SITE_ID);
BY ORIGIN_CODE;
RUN;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 17:32:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-Dataset-Options/m-p/637902#M189665</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-04-06T17:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Dataset Options</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-Dataset-Options/m-p/637904#M189666</link>
      <description>Thanks so much for the help!</description>
      <pubDate>Mon, 06 Apr 2020 17:38:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-Dataset-Options/m-p/637904#M189666</guid>
      <dc:creator>buechler66</dc:creator>
      <dc:date>2020-04-06T17:38:42Z</dc:date>
    </item>
  </channel>
</rss>

