<?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: Doubt in List Input in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Doubt-in-List-Input/m-p/71221#M15397</link>
    <description>Hello.&lt;BR /&gt;
&lt;BR /&gt;
That's because you are using the DLM=',*' option.&lt;BR /&gt;
&lt;BR /&gt;
Everything gets separated by the delimiters (, or *) rather than by blanks.&lt;BR /&gt;
&lt;BR /&gt;
See more on this here:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/basess/58133/HTML/default/a001066690.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/basess/58133/HTML/default/a001066690.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Cheers from Portugal.&lt;BR /&gt;
&lt;BR /&gt;
Daniel Santos @ &lt;A href="http://www.cgd.pt" target="_blank"&gt;www.cgd.pt&lt;/A&gt;</description>
    <pubDate>Mon, 14 Sep 2009 16:41:23 GMT</pubDate>
    <dc:creator>DanielSantos</dc:creator>
    <dc:date>2009-09-14T16:41:23Z</dc:date>
    <item>
      <title>Doubt in List Input</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Doubt-in-List-Input/m-p/71220#M15396</link>
      <description>Hi, &lt;BR /&gt;
In chapter 18 of SAS certi book(List Input ) says that ampersand (&amp;amp;) is used to read character values that contains embedded blanks. &lt;BR /&gt;
    &lt;BR /&gt;
 For Below program , In value of city(2nd row) there is space between New and Delhi and I'm reading this value without giving '&amp;amp;' and it is being read correctly. &lt;BR /&gt;
How is this possible ? &lt;BR /&gt;
&lt;BR /&gt;
DATA INPUT;                                               &lt;BR /&gt;
         INFILE DATALINES MISSOVER DLM=',*' DSD;           &lt;BR /&gt;
         LENGTH CITY $9.                                   &lt;BR /&gt;
                JOB $10.;                                  &lt;BR /&gt;
         INPUT FNAME $                                     &lt;BR /&gt;
               LNAME $                                     &lt;BR /&gt;
               AGE                                         &lt;BR /&gt;
               CITY                                        &lt;BR /&gt;
               JOB $;                                      &lt;BR /&gt;
               PUT _ALL_;                                  &lt;BR /&gt;
 DATALINES;                                                &lt;BR /&gt;
 MANISH,AWASTHI*24*PUNE,SFTWR                              &lt;BR /&gt;
 VIVEK,CHOPRA,*NEW DELHI,CONSULTANT                       &lt;BR /&gt;
  :               &lt;BR /&gt;
                        &lt;BR /&gt;
                                                &lt;BR /&gt;
 PROC PRINT DATA=INPUT NOOBS;   &lt;BR /&gt;
&lt;BR /&gt;
Output &lt;BR /&gt;
CITY          JOB            FNAME      LNAME     AGE   &lt;BR /&gt;
                                                       &lt;BR /&gt;
PUNE         SFTWR         MANISH     AWASTHI     24   &lt;BR /&gt;
NEW DELHI    CONSULTANT    VIVEK      CHOPRA       .  &lt;BR /&gt;
                                                       &lt;BR /&gt;
      .   &lt;BR /&gt;
Thanx &lt;BR /&gt;
&lt;BR /&gt;
Manish</description>
      <pubDate>Mon, 14 Sep 2009 16:21:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Doubt-in-List-Input/m-p/71220#M15396</guid>
      <dc:creator>er_awasthi</dc:creator>
      <dc:date>2009-09-14T16:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in List Input</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Doubt-in-List-Input/m-p/71221#M15397</link>
      <description>Hello.&lt;BR /&gt;
&lt;BR /&gt;
That's because you are using the DLM=',*' option.&lt;BR /&gt;
&lt;BR /&gt;
Everything gets separated by the delimiters (, or *) rather than by blanks.&lt;BR /&gt;
&lt;BR /&gt;
See more on this here:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/basess/58133/HTML/default/a001066690.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/basess/58133/HTML/default/a001066690.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Cheers from Portugal.&lt;BR /&gt;
&lt;BR /&gt;
Daniel Santos @ &lt;A href="http://www.cgd.pt" target="_blank"&gt;www.cgd.pt&lt;/A&gt;</description>
      <pubDate>Mon, 14 Sep 2009 16:41:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Doubt-in-List-Input/m-p/71221#M15397</guid>
      <dc:creator>DanielSantos</dc:creator>
      <dc:date>2009-09-14T16:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in List Input</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Doubt-in-List-Input/m-p/71222#M15398</link>
      <description>You have altered the SAS-default DLM=  which would be a blank character.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Mon, 14 Sep 2009 16:48:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Doubt-in-List-Input/m-p/71222#M15398</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-09-14T16:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in List Input</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Doubt-in-List-Input/m-p/71223#M15399</link>
      <description>Sorry - missed Daniel's fine reply.&lt;BR /&gt;
&lt;BR /&gt;
Scott</description>
      <pubDate>Mon, 14 Sep 2009 16:48:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Doubt-in-List-Input/m-p/71223#M15399</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-09-14T16:48:44Z</dc:date>
    </item>
  </channel>
</rss>

