<?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: download and exclude special format in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/download-and-exclude-special-format/m-p/437311#M108863</link>
    <description>&lt;P&gt;The way I read the documentation, SAS is asking for this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;exclude badformat / entrytype=format;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that format can't be found, it's possible you would have to use:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;exclude $badformat / entrytype=format;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can't test it, but that looks like what I'm reading.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;***** Looks like &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/193424"&gt;@stackoverflow&lt;/a&gt;&amp;nbsp;got there first ... and is correct that you need the slash before entrytype=&lt;/P&gt;
&lt;P&gt;I changed my examples to add the slash.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Feb 2018 20:05:13 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2018-02-14T20:05:13Z</dc:date>
    <item>
      <title>download and exclude special format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/download-and-exclude-special-format/m-p/436910#M108722</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I&amp;nbsp;am going to download a whole library of formats but want to exclude one from those format. what should I do?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the name of the format i want to exclude from download is $badformat.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc download incat=Lib1.formats outcat=Lib2.formats
    connectstatus=no;

  /*ToDo:  add some code here to exclude $badformat. */



run;&lt;/PRE&gt;
&lt;P&gt;Thank you very much!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 22:36:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/download-and-exclude-special-format/m-p/436910#M108722</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2018-02-13T22:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: download and exclude special format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/download-and-exclude-special-format/m-p/436924#M108728</link>
      <description>&lt;P&gt;The EXCLUDE statement allows you to list those members you do not want to download:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=connref&amp;amp;docsetTarget=n0o0vsabkqk59jn1wseldad5q4ax.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=connref&amp;amp;docsetTarget=n0o0vsabkqk59jn1wseldad5q4ax.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 23:25:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/download-and-exclude-special-format/m-p/436924#M108728</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-02-13T23:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: download and exclude special format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/download-and-exclude-special-format/m-p/437307#M108861</link>
      <description>&lt;PRE&gt;proc download incat=Lib1.formats outcat=Lib2.formats
    connectstatus=no;

  /*ToDo:  add some code here to exclude $badformat. */

exclude badformat;

run;&lt;/PRE&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;ERROR: Missing ENTRYTYPE specification for entry badformat.&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 19:54:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/download-and-exclude-special-format/m-p/437307#M108861</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2018-02-14T19:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: download and exclude special format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/download-and-exclude-special-format/m-p/437309#M108862</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc download incat=Lib1.formats outcat=Lib2.formats
    connectstatus=no;

  /*ToDo:  add some code here to exclude $badformat. */

exclude badformat/ENTRYTYPE=etype;

run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc download incat=Lib1.formats outcat=Lib2.formats
    connectstatus=no;

  /*ToDo:  add some code here to exclude $badformat. */

exclude format_A format_B format_C/ENTRYTYPE=format;
exclude formatc_A formatc_B formatc_C/ENTRYTYPE=formatc;

run;&lt;/PRE&gt;&lt;P&gt;try this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I add some changes, can exclude both format or formatc type ,need to write separately. see the new lines of codes&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 23:27:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/download-and-exclude-special-format/m-p/437309#M108862</guid>
      <dc:creator>stackoverflow</dc:creator>
      <dc:date>2018-02-15T23:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: download and exclude special format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/download-and-exclude-special-format/m-p/437311#M108863</link>
      <description>&lt;P&gt;The way I read the documentation, SAS is asking for this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;exclude badformat / entrytype=format;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that format can't be found, it's possible you would have to use:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;exclude $badformat / entrytype=format;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can't test it, but that looks like what I'm reading.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;***** Looks like &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/193424"&gt;@stackoverflow&lt;/a&gt;&amp;nbsp;got there first ... and is correct that you need the slash before entrytype=&lt;/P&gt;
&lt;P&gt;I changed my examples to add the slash.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 20:05:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/download-and-exclude-special-format/m-p/437311#M108863</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-02-14T20:05:13Z</dc:date>
    </item>
  </channel>
</rss>

