<?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: How to decrease code in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-decrease-code/m-p/199924#M15105</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Import the list of vendors into SAS.&lt;/P&gt;&lt;P&gt;Create a proper cntlin file for proc format that assigns the value 1 to all vendors, and attach a line for "other" that assigns 0,&lt;/P&gt;&lt;P&gt;Aplly that format in a data step and keep only the records where the formatted value is 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're not yet firm with all these procedures/steps, copy/paste the list into the EG code window and reformat it manually so that it can be used in an "in" condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jun 2015 07:57:15 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2015-06-05T07:57:15Z</dc:date>
    <item>
      <title>How to decrease code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-decrease-code/m-p/199921#M15102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;i have a code I should the records which has only those vendors names but I have 30 vendor names and I don't want to type all those vendor names so is there any way . keeping all those 30 vendor names in excel and can call it using macro . Any&amp;nbsp; idea ?? Pls help &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 16:00:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-decrease-code/m-p/199921#M15102</guid>
      <dc:creator>chennupriya</dc:creator>
      <dc:date>2015-06-04T16:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to decrease code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-decrease-code/m-p/199922#M15103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide more details about what you want to do? What should the code do? What output should the code have?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 16:13:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-decrease-code/m-p/199922#M15103</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2015-06-04T16:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to decrease code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-decrease-code/m-p/199923#M15104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can import the excel file and write it out to a sas dataset that you can call on, you can write the 30 names into a proc format.&amp;nbsp; I'm sure there are other options but without more details it's hard to help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 16:49:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-decrease-code/m-p/199923#M15104</guid>
      <dc:creator>Steelers_In_DC</dc:creator>
      <dc:date>2015-06-04T16:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to decrease code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-decrease-code/m-p/199924#M15105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Import the list of vendors into SAS.&lt;/P&gt;&lt;P&gt;Create a proper cntlin file for proc format that assigns the value 1 to all vendors, and attach a line for "other" that assigns 0,&lt;/P&gt;&lt;P&gt;Aplly that format in a data step and keep only the records where the formatted value is 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're not yet firm with all these procedures/steps, copy/paste the list into the EG code window and reformat it manually so that it can be used in an "in" condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 07:57:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-decrease-code/m-p/199924#M15105</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-06-05T07:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to decrease code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-decrease-code/m-p/199925#M15106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc import datafile="xyz.xlsx" out=temp;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; create table WANT as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HAVE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VENDOR in (select distinct COL1 from TEMP);&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 08:49:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-decrease-code/m-p/199925#M15106</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-06-05T08:49:33Z</dc:date>
    </item>
  </channel>
</rss>

