<?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: Understanding the put function in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Understanding-the-put-function/m-p/204814#M51014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did a web search and page &lt;A href="http://sascert.blogspot.com/2006/12/base-sas_116653578038985554.html" title="http://sascert.blogspot.com/2006/12/base-sas_116653578038985554.html"&gt;SAS Base Certification: Base SAS 88&lt;/A&gt; found this question but the response choice displayed was&lt;/P&gt;&lt;P&gt;Alfr14&lt;/P&gt;&lt;P&gt;Alic13&lt;/P&gt;&lt;P&gt;Barb13a&lt;/P&gt;&lt;P&gt;Caro14&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note the difference from your post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Apr 2015 17:41:39 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2015-04-27T17:41:39Z</dc:date>
    <item>
      <title>Understanding the put function</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Understanding-the-put-function/m-p/204811#M51011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm going through the results of a practice exam with the following question:&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&lt;STRONG&gt;Given the SAS data set PERM.STUDENTS:&lt;/STRONG&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P class="rteindent1" style="margin: 0 0 0 40px;"&gt;PERM.STUDENTS NAME AGE&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P class="rteindent1" style="margin: 0 0 0 40px;"&gt;--------- ------ Alfred 14&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P class="rteindent1" style="margin: 0 0 0 40px;"&gt;Alice13&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P class="rteindent1" style="margin: 0 0 0 40px;"&gt;Barbara13&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P class="rteindent1" style="margin: 0 0 0 40px;"&gt;Carol14&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;STRONG&gt;The following SAS program is submitted:&lt;/STRONG&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P class="rteindent1" style="margin: 0 0 0 40px;"&gt;&lt;EM&gt;libname perm ‘SAS data library’;&lt;/EM&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P class="rteindent1" style="margin: 0 0 0 40px;"&gt;&lt;EM&gt;data students;&lt;/EM&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="rteindent1" style="margin: 0 0 0 40px;"&gt;&lt;EM&gt;set perm.students;&lt;/EM&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="rteindent1" style="margin: 0 0 0 40px;"&gt;&lt;EM&gt;file ‘file specification’;&lt;/EM&gt;&lt;/P&gt;&lt;P class="rteindent1" style="margin: 0 0 0 40px;"&gt;&lt;EM&gt;put name $15. @5 age 2.;&lt;/EM&gt;&lt;/P&gt;&lt;P class="rteindent1" style="margin: 0 0 0 40px;"&gt;&lt;EM&gt;run;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What is written to the output raw data file?&lt;/STRONG&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;The correct response is listed below:&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P style="margin: 1em 0;"&gt;&lt;STRONG&gt;Response:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #464646; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13px; background-color: #e3ecc0;"&gt;----I----10---I----20---I----30&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #464646; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13px; background-color: #e3ecc0;"&gt;Alfr14&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #464646; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13px; background-color: #e3ecc0;"&gt;Alic13&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #464646; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13px; background-color: #e3ecc0;"&gt;Barb13a&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #464646; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13px; background-color: #e3ecc0;"&gt;Carol 4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I understand the first two (i.e. Alfr14 and Alic13), but I'm not sure why the second answer shouldn't be Barb1 or Barb14 and the third Caro14.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would someone mind explaining the answer and possibly correcting it if it is incorrect?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 16:35:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Understanding-the-put-function/m-p/204811#M51011</guid>
      <dc:creator>Andrew1</dc:creator>
      <dc:date>2015-04-27T16:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding the put function</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Understanding-the-put-function/m-p/204812#M51012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Barb13a because put first puts the name: Barbara then goes to column 5 (the @5) and prints the age of 13.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect there's something odd about the actual values of name and age for the Carol14 that we can't see as we don't have the data set.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 16:48:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Understanding-the-put-function/m-p/204812#M51012</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-04-27T16:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding the put function</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Understanding-the-put-function/m-p/204813#M51013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the exact question as it was asked. There was no additional information. I think there might have been a typographical error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 17:27:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Understanding-the-put-function/m-p/204813#M51013</guid>
      <dc:creator>Andrew1</dc:creator>
      <dc:date>2015-04-27T17:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding the put function</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Understanding-the-put-function/m-p/204814#M51014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did a web search and page &lt;A href="http://sascert.blogspot.com/2006/12/base-sas_116653578038985554.html" title="http://sascert.blogspot.com/2006/12/base-sas_116653578038985554.html"&gt;SAS Base Certification: Base SAS 88&lt;/A&gt; found this question but the response choice displayed was&lt;/P&gt;&lt;P&gt;Alfr14&lt;/P&gt;&lt;P&gt;Alic13&lt;/P&gt;&lt;P&gt;Barb13a&lt;/P&gt;&lt;P&gt;Caro14&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note the difference from your post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 17:41:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Understanding-the-put-function/m-p/204814#M51014</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-04-27T17:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding the put function</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Understanding-the-put-function/m-p/204815#M51015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting. Most of them make sense to me except for the Barb13a. Why is there a trailing 'a' at the end?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 18:16:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Understanding-the-put-function/m-p/204815#M51015</guid>
      <dc:creator>Andrew1</dc:creator>
      <dc:date>2015-04-27T18:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding the put function</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Understanding-the-put-function/m-p/204816#M51016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The trailing "a" is the last character in "Barbara".&amp;nbsp; Writing AGE replaced columns 5 and 6, but didn't replace column 7.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 18:42:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Understanding-the-put-function/m-p/204816#M51016</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2015-04-27T18:42:39Z</dc:date>
    </item>
  </channel>
</rss>

