<?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 What does this statement do? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/What-does-this-statement-do/m-p/28105#M6522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your NUM_CBTWS is a character type variable and you are using the input function with a SAS numeric informat of 5. to convert it to a character type and store it in the new character variable NUM_CBTWSN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can learn more about the input function as per the documentation at, &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/documentation/cdl/en/lefunctionsref/63354/HTML/default/viewer.htm#p19en16vskd2vhn1vwmxpxnglxxs.htm"&gt;http://support.sas.com/documentation/cdl/en/lefunctionsref/63354/HTML/default/viewer.htm#p19en16vskd2vhn1vwmxpxnglxxs.htm&lt;/A&gt;&lt;SPAN&gt; and see Example 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Michelle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 11 Mar 2012 08:44:52 GMT</pubDate>
    <dc:creator>MichelleHomes</dc:creator>
    <dc:date>2012-03-11T08:44:52Z</dc:date>
    <item>
      <title>What does this statement do?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/What-does-this-statement-do/m-p/28104#M6521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;NUM_CBTWSN =input(NUM_CBTWS, &lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;5.&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;If NUM_CBTWSN is my new variable, what does the command "input(NUM_CBTWS, 5.)" mean? CBTWSN is the new variable and NUM_CBTWS is the old variable. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gina &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Mar 2012 07:35:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/What-does-this-statement-do/m-p/28104#M6521</guid>
      <dc:creator>ginak</dc:creator>
      <dc:date>2012-03-11T07:35:24Z</dc:date>
    </item>
    <item>
      <title>What does this statement do?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/What-does-this-statement-do/m-p/28105#M6522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your NUM_CBTWS is a character type variable and you are using the input function with a SAS numeric informat of 5. to convert it to a character type and store it in the new character variable NUM_CBTWSN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can learn more about the input function as per the documentation at, &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/documentation/cdl/en/lefunctionsref/63354/HTML/default/viewer.htm#p19en16vskd2vhn1vwmxpxnglxxs.htm"&gt;http://support.sas.com/documentation/cdl/en/lefunctionsref/63354/HTML/default/viewer.htm#p19en16vskd2vhn1vwmxpxnglxxs.htm&lt;/A&gt;&lt;SPAN&gt; and see Example 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Michelle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Mar 2012 08:44:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/What-does-this-statement-do/m-p/28105#M6522</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2012-03-11T08:44:52Z</dc:date>
    </item>
    <item>
      <title>What does this statement do?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/What-does-this-statement-do/m-p/28106#M6523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I assume Michelle's fingers didn't type what she actually wanted to say.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"...with a SAS numeric informat of 5. to convert it to a character type and store it in the new character variable NUM_CBTWSN."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Should be:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"...with a SAS numeric informat of 5. to convert it to a &lt;STRONG&gt;number &lt;/STRONG&gt;and store it in the new &lt;STRONG&gt;numeric &lt;/STRONG&gt;variable NUM_CBTWSN."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Mar 2012 09:26:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/What-does-this-statement-do/m-p/28106#M6523</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2012-03-11T09:26:23Z</dc:date>
    </item>
    <item>
      <title>What does this statement do?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/What-does-this-statement-do/m-p/28107#M6524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oops... Thanks for the correction Patrick. Yes brain and fingers mis-match. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Mar 2012 09:50:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/What-does-this-statement-do/m-p/28107#M6524</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2012-03-11T09:50:08Z</dc:date>
    </item>
    <item>
      <title>What does this statement do?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/What-does-this-statement-do/m-p/28108#M6525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New'; background-color: #ffffff;"&gt;NUM_CBTWSN : it is the new variable created based on the existing variable &lt;SPAN style="color: #000000; font-family: 'Courier New'; background-color: #ffffff;"&gt;NUM_CBTWS&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;input&lt;/STRONG&gt; function is to convert a &lt;STRONG&gt;character&lt;/STRONG&gt; variable type to&lt;STRONG&gt; numeric variable type&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so&amp;nbsp; your new variable &lt;SPAN style="color: #000000; font-family: 'Courier New'; background-color: #ffffff;"&gt;NUM_CBTWSN is a numeric variable which is having a length of 5 bytes(default 8 bytes)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Mar 2012 19:51:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/What-does-this-statement-do/m-p/28108#M6525</guid>
      <dc:creator>Vish33</dc:creator>
      <dc:date>2012-03-11T19:51:09Z</dc:date>
    </item>
    <item>
      <title>What does this statement do?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/What-does-this-statement-do/m-p/28109#M6526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Mar 2012 20:50:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/What-does-this-statement-do/m-p/28109#M6526</guid>
      <dc:creator>ginak</dc:creator>
      <dc:date>2012-03-11T20:50:07Z</dc:date>
    </item>
    <item>
      <title>What does this statement do?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/What-does-this-statement-do/m-p/28110#M6527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Mar 2012 20:50:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/What-does-this-statement-do/m-p/28110#M6527</guid>
      <dc:creator>ginak</dc:creator>
      <dc:date>2012-03-11T20:50:17Z</dc:date>
    </item>
    <item>
      <title>What does this statement do?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/What-does-this-statement-do/m-p/28111#M6528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Mar 2012 20:50:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/What-does-this-statement-do/m-p/28111#M6528</guid>
      <dc:creator>ginak</dc:creator>
      <dc:date>2012-03-11T20:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: What does this statement do?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/What-does-this-statement-do/m-p/28112#M6529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn't see anyone point out an alternative that could also be true.&amp;nbsp; If &lt;SPAN style="color: #000000; font-family: 'Courier New'; background-color: #ffffff;"&gt;NUM_CBTWS is a numeric variable, then the function won't return an error, but will return a missing value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New'; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Mar 2012 21:51:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/What-does-this-statement-do/m-p/28112#M6529</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-03-11T21:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: What does this statement do?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/What-does-this-statement-do/m-p/28113#M6530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; The function changes the character&amp;nbsp; variable to numeric.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 05:59:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/What-does-this-statement-do/m-p/28113#M6530</guid>
      <dc:creator>manojinpec</dc:creator>
      <dc:date>2012-03-12T05:59:51Z</dc:date>
    </item>
  </channel>
</rss>

