<?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: Reading in Data Set without $ in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Reading-in-Data-Set-without/m-p/508150#M136437</link>
    <description>&lt;P&gt;And if you want format the output back to dollar for display, add the format statement with the appropriate format&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;format price shippingcosts dollar10.2;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 28 Oct 2018 19:35:14 GMT</pubDate>
    <dc:creator>novinosrin</dc:creator>
    <dc:date>2018-10-28T19:35:14Z</dc:date>
    <item>
      <title>Reading in Data Set without $</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-in-Data-Set-without/m-p/508148#M136435</link>
      <description>&lt;P&gt;I am trying to read the following dataset in to SAS without money signs: &lt;SPAN&gt;&lt;A href="http://people.stat.sc.edu/hitchcock/tshirt.txt" target="_blank"&gt;http://people.stat.sc.edu/hitchcock/tshirt.txt&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have been trying the following code and it is not printing values for the shipping costs column and I can't figure out how to get rid of the money signs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA tshirt;
FILENAME webpage URL 'http://people.stat.sc.edu/hitchcock/tshirt.txt';
INFILE webpage;
INPUT size$color$price$shippingcosts;
RUN;

PROC PRINT DATA=tshirt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Oct 2018 19:24:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-in-Data-Set-without/m-p/508148#M136435</guid>
      <dc:creator>Steelersgirl</dc:creator>
      <dc:date>2018-10-28T19:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Reading in Data Set without $</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-in-Data-Set-without/m-p/508149#M136436</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input  size $ color $ /price comma10. /shippingcosts comma10.;
cards;
Large Red 
$19.77 
$0.35
Medium Green 
$25.36
$1.21
X-Large Blue 
$29.45
$1.76
Small Yellow 
$15.28
$0.92
;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 28 Oct 2018 19:33:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-in-Data-Set-without/m-p/508149#M136436</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-10-28T19:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reading in Data Set without $</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-in-Data-Set-without/m-p/508150#M136437</link>
      <description>&lt;P&gt;And if you want format the output back to dollar for display, add the format statement with the appropriate format&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;format price shippingcosts dollar10.2;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Oct 2018 19:35:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-in-Data-Set-without/m-p/508150#M136437</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-10-28T19:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Reading in Data Set without $</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-in-Data-Set-without/m-p/508152#M136439</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/243060"&gt;@Steelersgirl&lt;/a&gt;&amp;nbsp; Take this version plz&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
FILENAME webpage URL 'http://people.stat.sc.edu/hitchcock/tshirt.txt';
INFILE webpage;
input  size $ color $ /price : comma10. /shippingcosts : comma10.;
format price shippingcosts dollar10.2;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 28 Oct 2018 19:41:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-in-Data-Set-without/m-p/508152#M136439</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-10-28T19:41:27Z</dc:date>
    </item>
  </channel>
</rss>

