<?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 ':' in input statement in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/in-input-statement/m-p/394253#M94977</link>
    <description>&lt;P&gt;data temp;&lt;/P&gt;&lt;P&gt;input &amp;nbsp;skill_set : $50. &amp;nbsp;@ ;&lt;/P&gt;&lt;P&gt;--------------&lt;/P&gt;&lt;P&gt;---------------&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hi, &amp;nbsp;&lt;/P&gt;&lt;P&gt;what do we mean by the above input statement, what is the meaning of ':' and '@' in the above statement.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Sep 2017 15:48:55 GMT</pubDate>
    <dc:creator>anushagandla</dc:creator>
    <dc:date>2017-09-08T15:48:55Z</dc:date>
    <item>
      <title>':' in input statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/in-input-statement/m-p/394253#M94977</link>
      <description>&lt;P&gt;data temp;&lt;/P&gt;&lt;P&gt;input &amp;nbsp;skill_set : $50. &amp;nbsp;@ ;&lt;/P&gt;&lt;P&gt;--------------&lt;/P&gt;&lt;P&gt;---------------&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hi, &amp;nbsp;&lt;/P&gt;&lt;P&gt;what do we mean by the above input statement, what is the meaning of ':' and '@' in the above statement.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2017 15:48:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/in-input-statement/m-p/394253#M94977</guid>
      <dc:creator>anushagandla</dc:creator>
      <dc:date>2017-09-08T15:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: ':' in input statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/in-input-statement/m-p/394261#M94978</link>
      <description>&lt;P&gt;The : is used to indicate that the format reading the data starts reading at the next non-blank column until it reaches a blank column in the data. If the : then a format may force reading more characters than you intend when the length of values vary. Note the value of x in the first data set and the error message in the first example step below. Then the behavior with the :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data example;
   input x $10. y;
datalines;
short 23
longer    19
;
run;

data example2;
   input x : $10. y;
datalines;
short 23
longer    19
;
run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The @ holds the input pointer on the same line. One use is conditionally read data depending on the values of something read before the @ sign.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2017 16:11:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/in-input-statement/m-p/394261#M94978</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-09-08T16:11:21Z</dc:date>
    </item>
  </channel>
</rss>

