<?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 How to input blank char value in dataline in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-input-blank-char-value-in-dataline/m-p/682286#M206520</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;data country;&lt;BR /&gt;input country_ID  state $ country_name $;&lt;BR /&gt;datalines;&lt;BR /&gt;&lt;BR /&gt;1 Texas Colin&lt;BR /&gt;. Texas Dallas&lt;BR /&gt;3  .     Deklab&lt;BR /&gt;;&lt;BR /&gt;run; &lt;/PRE&gt;&lt;P&gt;I have below dataset here if i am using " "&amp;nbsp; in 3rd row , I am getting lost card error but if i am using "." Which we used for numeric missing value. I am getting the o/p. Please tell me Why this is happening&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Sep 2020 15:52:25 GMT</pubDate>
    <dc:creator>Aexor</dc:creator>
    <dc:date>2020-09-08T15:52:25Z</dc:date>
    <item>
      <title>How to input blank char value in dataline</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-input-blank-char-value-in-dataline/m-p/682286#M206520</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;data country;&lt;BR /&gt;input country_ID  state $ country_name $;&lt;BR /&gt;datalines;&lt;BR /&gt;&lt;BR /&gt;1 Texas Colin&lt;BR /&gt;. Texas Dallas&lt;BR /&gt;3  .     Deklab&lt;BR /&gt;;&lt;BR /&gt;run; &lt;/PRE&gt;&lt;P&gt;I have below dataset here if i am using " "&amp;nbsp; in 3rd row , I am getting lost card error but if i am using "." Which we used for numeric missing value. I am getting the o/p. Please tell me Why this is happening&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 15:52:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-input-blank-char-value-in-dataline/m-p/682286#M206520</guid>
      <dc:creator>Aexor</dc:creator>
      <dc:date>2020-09-08T15:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to input blank char value in dataline</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-input-blank-char-value-in-dataline/m-p/682301#M206524</link>
      <description>&lt;P&gt;Since you do not use an INFILE statement with the DSD option, a sequence of delimiters (blanks) will be read as one delimiter, causing a skip to the next dataline.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When using the default $w. informat, a single dot will also be interpreted as a missing &lt;EM&gt;character&lt;/EM&gt; value.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 16:20:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-input-blank-char-value-in-dataline/m-p/682301#M206524</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-09-08T16:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to input blank char value in dataline</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-input-blank-char-value-in-dataline/m-p/682308#M206525</link>
      <description>Thanks !! Yes if we use infile then we can easily specify DSD .&lt;BR /&gt;I just wanted to confirm that while using default format for char variable we can use '.' or is there any way out for this ?</description>
      <pubDate>Tue, 08 Sep 2020 16:25:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-input-blank-char-value-in-dataline/m-p/682308#M206525</guid>
      <dc:creator>Aexor</dc:creator>
      <dc:date>2020-09-08T16:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to input blank char value in dataline</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-input-blank-char-value-in-dataline/m-p/682310#M206527</link>
      <description>&lt;P&gt;Whenever I need to read missing values (or values containing blanks) from datalines, I use INFILE, DSD and DLM= with a suitable delimiter (comma, pipe, ...)&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 16:29:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-input-blank-char-value-in-dataline/m-p/682310#M206527</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-09-08T16:29:32Z</dc:date>
    </item>
  </channel>
</rss>

