<?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 use informat for a external file having 2 different format of data in same file ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-use-informat-for-a-external-file-having-2-different/m-p/439254#M109594</link>
    <description>&lt;P&gt;The COMMA. informat (alias DOLLAR.) will read values with (and without) dollar sign in front and comma as thousands separator:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data x;
  informat revenue comma.;
  input country $ revenue;
cards;
India 2000
Nepal 2000
USA $2,000
Canada $300
AUS $2005
;run;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 22 Feb 2018 12:45:02 GMT</pubDate>
    <dc:creator>s_lassen</dc:creator>
    <dc:date>2018-02-22T12:45:02Z</dc:date>
    <item>
      <title>how to use informat for a external file having 2 different format of data in same file ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-use-informat-for-a-external-file-having-2-different/m-p/439235#M109586</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;we have one external file in which one of numeric column has the two different type of data as shown in below :-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Country&amp;nbsp; &amp;nbsp;Revenue&amp;nbsp;&lt;/P&gt;&lt;P&gt;India&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2000&lt;/P&gt;&lt;P&gt;Nepal&amp;nbsp; &amp;nbsp; &amp;nbsp; 2000&amp;nbsp;&lt;/P&gt;&lt;P&gt;USA&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $2,000&amp;nbsp;&lt;/P&gt;&lt;P&gt;Canada&amp;nbsp; $300&lt;/P&gt;&lt;P&gt;AUS&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$2005&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how to write code for above scenario and Dataset output should look like :-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Country&amp;nbsp; &amp;nbsp;Revenue&amp;nbsp;&lt;/P&gt;&lt;P&gt;India&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2000&lt;/P&gt;&lt;P&gt;Nepal&amp;nbsp; &amp;nbsp; &amp;nbsp; 2000&amp;nbsp;&lt;/P&gt;&lt;P&gt;USA&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2000&amp;nbsp;&lt;/P&gt;&lt;P&gt;Canada&amp;nbsp; 300&lt;/P&gt;&lt;P&gt;AUS&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2005&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2018 11:50:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-use-informat-for-a-external-file-having-2-different/m-p/439235#M109586</guid>
      <dc:creator>MG18</dc:creator>
      <dc:date>2018-02-22T11:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to use informat for a external file having 2 different format of data in same file ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-use-informat-for-a-external-file-having-2-different/m-p/439254#M109594</link>
      <description>&lt;P&gt;The COMMA. informat (alias DOLLAR.) will read values with (and without) dollar sign in front and comma as thousands separator:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data x;
  informat revenue comma.;
  input country $ revenue;
cards;
India 2000
Nepal 2000
USA $2,000
Canada $300
AUS $2005
;run;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 22 Feb 2018 12:45:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-use-informat-for-a-external-file-having-2-different/m-p/439254#M109594</guid>
      <dc:creator>s_lassen</dc:creator>
      <dc:date>2018-02-22T12:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to use informat for a external file having 2 different format of data in same file ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-use-informat-for-a-external-file-having-2-different/m-p/439256#M109595</link>
      <description>&lt;P&gt;Use &lt;A href="http://documentation.sas.com/?docsetId=leforinforref&amp;amp;docsetTarget=n1dvsmv8t9o60gn1dk1gkev91nan.htm&amp;amp;docsetVersion=3.2&amp;amp;locale=en" target="_self"&gt;Comma&amp;nbsp;Informat&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2018 12:48:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-use-informat-for-a-external-file-having-2-different/m-p/439256#M109595</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2018-02-22T12:48:43Z</dc:date>
    </item>
  </channel>
</rss>

