<?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 &amp;quot;put&amp;quot; in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Understanding-quot-put-quot/m-p/467163#M119241</link>
    <description>&lt;P&gt;Hi:&lt;BR /&gt; You should be able to run the program and test it yourself. Like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="put_file_answer.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/20979i99873971800C22FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="put_file_answer.png" alt="put_file_answer.png" /&gt;&lt;/span&gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I recommend reading the documentation about the PUT statement and pointer control and writing to an external text file in the documentation.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
    <pubDate>Sat, 02 Jun 2018 21:05:51 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2018-06-02T21:05:51Z</dc:date>
    <item>
      <title>Understanding "put"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Understanding-quot-put-quot/m-p/467160#M119240</link>
      <description>&lt;P&gt;The contents of the SAS data set named PERM.STUDENTS are listed below:&lt;/P&gt;&lt;P&gt;name age&lt;BR /&gt;Alfred 14&lt;BR /&gt;Alice 13&lt;BR /&gt;Barbara 13&lt;BR /&gt;Carol 14&lt;/P&gt;&lt;P&gt;The following SAS program is submitted using the PERM.STUDENTS data set as input:&lt;/P&gt;&lt;P&gt;libname perm 'SAS-data-library';&lt;BR /&gt;data students;&lt;BR /&gt;set perm.students;&lt;BR /&gt;file 'file-specification';&lt;BR /&gt;put name $15. @5 age 2.;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;Which one of the follwoing represents the values written to the output raw data file?&lt;/P&gt;&lt;P&gt;A.&lt;BR /&gt;----|----10----|----20----|----30&lt;BR /&gt;Alfred 14&lt;BR /&gt;Alice 13&lt;BR /&gt;Barbara 13&lt;BR /&gt;Carol 14&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;B.&lt;BR /&gt;----|----10----|----20----|----30&lt;BR /&gt;Alfr14&lt;BR /&gt;Alic13&lt;BR /&gt;Barb13a&lt;BR /&gt;Carol14&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;C.&lt;BR /&gt;----|----10----|----20----|----30&lt;BR /&gt;Alfr14ed&lt;BR /&gt;Alic13e&lt;BR /&gt;Barb13ara&lt;BR /&gt;Caro14l&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;D.&lt;BR /&gt;----|----10----|----20----|----30&lt;BR /&gt;Alfred 14&lt;BR /&gt;Alice 13&lt;BR /&gt;Barbara 13&lt;BR /&gt;Carol 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me to understand which one is correct and how.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jun 2018 20:23:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Understanding-quot-put-quot/m-p/467160#M119240</guid>
      <dc:creator>Ashwanikumar</dc:creator>
      <dc:date>2018-06-02T20:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding "put"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Understanding-quot-put-quot/m-p/467163#M119241</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt; You should be able to run the program and test it yourself. Like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="put_file_answer.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/20979i99873971800C22FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="put_file_answer.png" alt="put_file_answer.png" /&gt;&lt;/span&gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I recommend reading the documentation about the PUT statement and pointer control and writing to an external text file in the documentation.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jun 2018 21:05:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Understanding-quot-put-quot/m-p/467163#M119241</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-06-02T21:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding "put"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Understanding-quot-put-quot/m-p/467257#M119276</link>
      <description>Thank you Cynthia</description>
      <pubDate>Sun, 03 Jun 2018 20:31:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Understanding-quot-put-quot/m-p/467257#M119276</guid>
      <dc:creator>Ashwanikumar</dc:creator>
      <dc:date>2018-06-03T20:31:51Z</dc:date>
    </item>
  </channel>
</rss>

