<?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 read the data values with space and comma? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-data-values-with-space-and-comma/m-p/489658#M127909</link>
    <description>&lt;P&gt;Also the COMMAw.d and COMMAXw.d&amp;nbsp;informat is intended to read values such as&lt;/P&gt;
&lt;P&gt;1,000,000.27 where the comma is not a decimal (though your LOCALE setting might change this behavior, I'm not sure).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think that you might be looking for the NUMXw.d format to read comma in place of decimal.&lt;/P&gt;</description>
    <pubDate>Fri, 24 Aug 2018 15:56:39 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2018-08-24T15:56:39Z</dc:date>
    <item>
      <title>How to read the data values with space and comma?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-data-values-with-space-and-comma/m-p/489503#M127835</link>
      <description>&lt;P&gt;I want to create a dataset per the below data. I tried to wrote a program to read the data but it is not reading the data as I except. Could someone of you guide me with the program create a dataset per the following data?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="851"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="318"&gt;Name&lt;/TD&gt;
&lt;TD width="302"&gt;Average Talk Time Answered Calls&lt;/TD&gt;
&lt;TD width="231"&gt;Average ACW Time Answered Calls&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Van der Haeghe, Wendy (A000028)&lt;/TD&gt;
&lt;TD&gt;116,3953488&lt;/TD&gt;
&lt;TD&gt;290,4883721&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Verhaegh, John (F002902)&lt;/TD&gt;
&lt;TD&gt;86,66666667&lt;/TD&gt;
&lt;TD&gt;2,333333333&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data DVV_Automatic_Schedule;
input @1 name $ @40 'Average Talk Time Answered Calls'n commax18. @60 'Average ACW Time Answered Calls'n commax18.;
datalines;
Van der Haeghe,Wendy(A000028) 116,395348837209 290,4883721
Verhaegh,John(F002902)   86,66666667	2,333333333
;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Aug 2018 06:50:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-data-values-with-space-and-comma/m-p/489503#M127835</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2018-08-24T06:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the data values with space and comma?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-data-values-with-space-and-comma/m-p/489506#M127838</link>
      <description>&lt;P&gt;Before messing around with this, I would request the source to deliver data in a usable form. Either items that contain a delimiter are enclosed in quotes (allowing to use the dsd option), or a delimiter that does not appear in items is used (eg the tab, or a pipe character | ).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise you are forced to wrap up the input line from right to left, so that what's left after removing the last two items is your name. Not nice and will cause additional work anytime a column is added. And if you get another column with blanks, you're completely hosed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An DO NOT use the idiotic "some garbage in here"n for variable names. That causes unnecessary work in programming and is plain rotten stupid. Put such text in variable &lt;EM&gt;labels&lt;/EM&gt;, where it belongs.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 06:59:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-data-values-with-space-and-comma/m-p/489506#M127838</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-08-24T06:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the data values with space and comma?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-data-values-with-space-and-comma/m-p/489658#M127909</link>
      <description>&lt;P&gt;Also the COMMAw.d and COMMAXw.d&amp;nbsp;informat is intended to read values such as&lt;/P&gt;
&lt;P&gt;1,000,000.27 where the comma is not a decimal (though your LOCALE setting might change this behavior, I'm not sure).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think that you might be looking for the NUMXw.d format to read comma in place of decimal.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 15:56:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-data-values-with-space-and-comma/m-p/489658#M127909</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-08-24T15:56:39Z</dc:date>
    </item>
  </channel>
</rss>

