<?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 an &amp;quot;input&amp;quot; statement question in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/an-quot-input-quot-statement-question/m-p/486530#M126603</link>
    <description>&lt;P&gt;&lt;SPAN class="fontstyle0"&gt;A raw data file is listed below.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="fontstyle2"&gt;1---+----10---+----20---+---&lt;BR /&gt;01/05/1989 Frank 11&lt;BR /&gt;12/25/1987 June 13&lt;BR /&gt;01/05/1991 Sally 9&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="fontstyle0"&gt;The following SAS program is submitted using the raw data file as input:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="fontstyle2"&gt;data work.family;&lt;BR /&gt;infile 'file-specification';&lt;BR /&gt;input @1 date_of_birth mmddyy10.&lt;BR /&gt;@15 first_name $5.&lt;BR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/54795"&gt;@25&lt;/a&gt;age 3;&lt;BR /&gt;run;&lt;BR /&gt;proc print data=work.family noobs;&lt;BR /&gt;run;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;Which one of the following is the result?&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="fontstyle3"&gt;a. &lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;The program executes, but the age values are missing in the output.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="fontstyle3"&gt;b. &lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;The program executes, but the date values are missing in the output.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="fontstyle3"&gt;c. &lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;The program fails to execute because the age informat is coded incorrectly.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="fontstyle3"&gt;d. &lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;The program fails to execute because the date informat is coded incorrectly.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="fontstyle4"&gt;Correct answer: &lt;/SPAN&gt;&lt;SPAN class="fontstyle4"&gt;a&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;Values for the variable &lt;/SPAN&gt;&lt;SPAN class="fontstyle2"&gt;age &lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;are missing in the output because the informat for &lt;/SPAN&gt;&lt;SPAN class="fontstyle2"&gt;age &lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;is&lt;BR /&gt;coded incorrectly. Since &lt;/SPAN&gt;&lt;SPAN class="fontstyle2"&gt;age &lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;is standard numeric input, it should use the &lt;/SPAN&gt;&lt;SPAN class="fontstyle3"&gt;w.d &lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;informat to&lt;BR /&gt;specify a field width of 3 in the INPUT statement.&lt;BR /&gt;You can learn about the &lt;/SPAN&gt;&lt;SPAN class="fontstyle3"&gt;w.d &lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;informat in &lt;/SPAN&gt;&lt;SPAN class="fontstyle4"&gt;Reading Raw Data in Fixed Fields&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="fontstyle4"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="fontstyle4"&gt;I think maybe the answer and the&amp;nbsp;&lt;/SPAN&gt;explanation are not right?Since the point is at 24？and the age is integer,it is supposed to read one number for each?and no need to set its format into w.d&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------updade------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.JPG" style="width: 269px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/22424iCA3867BAF60D5E2A/image-dimensions/269x114?v=v2" width="269" height="114" role="button" title="1.JPG" alt="1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;this is the origin question on pdf file,mine paste seemd disorder the format.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Aug 2018 06:54:20 GMT</pubDate>
    <dc:creator>Geo-</dc:creator>
    <dc:date>2018-08-14T06:54:20Z</dc:date>
    <item>
      <title>an "input" statement question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/an-quot-input-quot-statement-question/m-p/486530#M126603</link>
      <description>&lt;P&gt;&lt;SPAN class="fontstyle0"&gt;A raw data file is listed below.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="fontstyle2"&gt;1---+----10---+----20---+---&lt;BR /&gt;01/05/1989 Frank 11&lt;BR /&gt;12/25/1987 June 13&lt;BR /&gt;01/05/1991 Sally 9&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="fontstyle0"&gt;The following SAS program is submitted using the raw data file as input:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="fontstyle2"&gt;data work.family;&lt;BR /&gt;infile 'file-specification';&lt;BR /&gt;input @1 date_of_birth mmddyy10.&lt;BR /&gt;@15 first_name $5.&lt;BR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/54795"&gt;@25&lt;/a&gt;age 3;&lt;BR /&gt;run;&lt;BR /&gt;proc print data=work.family noobs;&lt;BR /&gt;run;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;Which one of the following is the result?&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="fontstyle3"&gt;a. &lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;The program executes, but the age values are missing in the output.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="fontstyle3"&gt;b. &lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;The program executes, but the date values are missing in the output.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="fontstyle3"&gt;c. &lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;The program fails to execute because the age informat is coded incorrectly.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="fontstyle3"&gt;d. &lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;The program fails to execute because the date informat is coded incorrectly.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="fontstyle4"&gt;Correct answer: &lt;/SPAN&gt;&lt;SPAN class="fontstyle4"&gt;a&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;Values for the variable &lt;/SPAN&gt;&lt;SPAN class="fontstyle2"&gt;age &lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;are missing in the output because the informat for &lt;/SPAN&gt;&lt;SPAN class="fontstyle2"&gt;age &lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;is&lt;BR /&gt;coded incorrectly. Since &lt;/SPAN&gt;&lt;SPAN class="fontstyle2"&gt;age &lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;is standard numeric input, it should use the &lt;/SPAN&gt;&lt;SPAN class="fontstyle3"&gt;w.d &lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;informat to&lt;BR /&gt;specify a field width of 3 in the INPUT statement.&lt;BR /&gt;You can learn about the &lt;/SPAN&gt;&lt;SPAN class="fontstyle3"&gt;w.d &lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;informat in &lt;/SPAN&gt;&lt;SPAN class="fontstyle4"&gt;Reading Raw Data in Fixed Fields&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="fontstyle4"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="fontstyle4"&gt;I think maybe the answer and the&amp;nbsp;&lt;/SPAN&gt;explanation are not right?Since the point is at 24？and the age is integer,it is supposed to read one number for each?and no need to set its format into w.d&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------updade------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.JPG" style="width: 269px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/22424iCA3867BAF60D5E2A/image-dimensions/269x114?v=v2" width="269" height="114" role="button" title="1.JPG" alt="1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;this is the origin question on pdf file,mine paste seemd disorder the format.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 06:54:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/an-quot-input-quot-statement-question/m-p/486530#M126603</guid>
      <dc:creator>Geo-</dc:creator>
      <dc:date>2018-08-14T06:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: an "input" statement question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/an-quot-input-quot-statement-question/m-p/486532#M126605</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data work.family;
infile datalines;
input @1 date_of_birth mmddyy10. @11 first_name $5. @17 age 3./* w.d informat */;
datalines;
01/05/1989 Frank 11
12/25/1987 June  13
01/05/1991 Sally 9
;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You are partially&amp;nbsp;right. This explanation misleads you because of the following :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Originally&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This program has two errors :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Error due to pointer at 15&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Need to use w.d in format (Only this error is explained).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can say this explanation is not enough evidence for answer, however I can not consider it is wrong.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It should include&amp;nbsp; error 1) and 2) for complete explanation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: when I used to solve my base sas questions I found many of that questions, so I need to run and check those program to verify that answer and explanation. I think you should try that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am sending you correct code as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 04:46:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/an-quot-input-quot-statement-question/m-p/486532#M126605</guid>
      <dc:creator>shahparth260</dc:creator>
      <dc:date>2018-08-14T04:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: an "input" statement question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/an-quot-input-quot-statement-question/m-p/486553#M126618</link>
      <description>&lt;P&gt;very thoughtful for your code.I have updated the question,and make it more clear,please confirm.thank you for your attention.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 06:58:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/an-quot-input-quot-statement-question/m-p/486553#M126618</guid>
      <dc:creator>Geo-</dc:creator>
      <dc:date>2018-08-14T06:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: an "input" statement question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/an-quot-input-quot-statement-question/m-p/486555#M126620</link>
      <description>&lt;P&gt;In this case, The explanation truly satisfied because you can execute code but gives you missing value as of you have not used w.d (3.0) which represent w= width and d =decimal. In our case,&amp;nbsp; wid=3 ( because age may be 100 which is hard to see ) and no decimal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it makes clear now. Try with w.d format and with out you will surly see difference.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 07:03:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/an-quot-input-quot-statement-question/m-p/486555#M126620</guid>
      <dc:creator>shahparth260</dc:creator>
      <dc:date>2018-08-14T07:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: an "input" statement question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/an-quot-input-quot-statement-question/m-p/486557#M126621</link>
      <description>&lt;P&gt;The response you received is correct, but the reason is totally wrong.&amp;nbsp; Consider what this means:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;input age 3;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It means get the value of AGE from column 3.&amp;nbsp; That is a slash (part of the date), and thus an invalid numeric value.&amp;nbsp; Hence you get a missing value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This INPUT statement has the same effect:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;input&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/54795"&gt;@25&lt;/a&gt; age 3;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It means "move to column 25, then take the value of AGE from column 3".&amp;nbsp; Given that you move to column 25, you need a dot to indicate that these are instructions.&amp;nbsp; This INPUT statement is different (and correct):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;input&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/54795"&gt;@25&lt;/a&gt; age 3.;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It means "move to column 25, then take the next 3 columns as the value of AGE".&amp;nbsp; The dot indicates that "3." represents instructions for reading AGE, not a location within the line of data.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 07:11:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/an-quot-input-quot-statement-question/m-p/486557#M126621</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-08-14T07:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: an "input" statement question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/an-quot-input-quot-statement-question/m-p/486567#M126629</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4954"&gt;@Astounding&lt;/a&gt;: Thanks for correcting my comment for it and explained root of this.&amp;nbsp; I really appreciate it.&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/184018"&gt;@Geo-&lt;/a&gt;&amp;nbsp;Please consider this explanation, Ignore mine. Not intended to mislead you. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 07:32:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/an-quot-input-quot-statement-question/m-p/486567#M126629</guid>
      <dc:creator>shahparth260</dc:creator>
      <dc:date>2018-08-14T07:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: an "input" statement question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/an-quot-input-quot-statement-question/m-p/486568#M126630</link>
      <description>&lt;P&gt;Use the {i} button for posting code, logs and other texts that needs fixed spacing and no changes (eg replacing smileys for colon-closing bracket).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 07:30:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/an-quot-input-quot-statement-question/m-p/486568#M126630</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-08-14T07:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: an "input" statement question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/an-quot-input-quot-statement-question/m-p/511814#M137751</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using below code -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data test;&lt;BR /&gt;infile cards truncover;&lt;BR /&gt;input name $ lname $ id $ 4.;&lt;BR /&gt;cards;&lt;BR /&gt;sita kumari 21 m&lt;BR /&gt;ram kumar 22 f&lt;BR /&gt;munn kumar 34 m&lt;BR /&gt;;&lt;BR /&gt;proc print;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;getting output as-&lt;/P&gt;&lt;P&gt;&amp;nbsp;Obs name lname id123&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;sita&lt;/TD&gt;&lt;TD&gt;kumari&lt;/TD&gt;&lt;TD&gt;21 m&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ram&lt;/TD&gt;&lt;TD&gt;kumar&lt;/TD&gt;&lt;TD&gt;22 f&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;munn&lt;/TD&gt;&lt;TD&gt;kumar&lt;/TD&gt;&lt;TD&gt;34 m&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;While when I use (added colon) -&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;input name&lt;STRONG&gt;:&lt;/STRONG&gt;&amp;nbsp;$ lname&lt;STRONG&gt;:&lt;/STRONG&gt;&amp;nbsp;$ id&lt;STRONG&gt;:&lt;/STRONG&gt;&amp;nbsp;$ 4. ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;output-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Obs name lname id123&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;sita&lt;/TD&gt;&lt;TD&gt;kumari&lt;/TD&gt;&lt;TD&gt;21&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ram&lt;/TD&gt;&lt;TD&gt;kumar&lt;/TD&gt;&lt;TD&gt;22&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;munn&lt;/TD&gt;&lt;TD&gt;kumar&lt;/TD&gt;&lt;TD&gt;34&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why such difference in id. output?&lt;/P&gt;&lt;P&gt;As far as I know both below codes mean the same&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;input name $ lname $ id $ 4.;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;input name&lt;STRONG&gt;:&lt;/STRONG&gt;&amp;nbsp;$ lname&lt;STRONG&gt;:&lt;/STRONG&gt;&amp;nbsp;$ id&lt;STRONG&gt;:&lt;/STRONG&gt;&amp;nbsp;$ 4. ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then why such difference in output.Please help to understand.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Will be glad.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Niupama&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 20:03:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/an-quot-input-quot-statement-question/m-p/511814#M137751</guid>
      <dc:creator>nirupama1</dc:creator>
      <dc:date>2018-11-09T20:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: an "input" statement question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/an-quot-input-quot-statement-question/m-p/511834#M137758</link>
      <description>&lt;P&gt;&lt;STRONG&gt;$4.&lt;/STRONG&gt; reads the next 4 characters (e.g. "21m")&amp;nbsp;starting from the current pointer position.&lt;STRONG&gt; :$4.&lt;/STRONG&gt; extracts the next field (stopping at the next field separator, e.g. "21") and then reads the string with the specified informat ($4.)&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 20:55:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/an-quot-input-quot-statement-question/m-p/511834#M137758</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2018-11-09T20:55:06Z</dc:date>
    </item>
  </channel>
</rss>

