<?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: PUT Function with alignment in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PUT-Function-with-alignment/m-p/203998#M50847</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They are right aligned.&amp;nbsp; However, the length of the newly created variables PHONE_C and SSN_C are 10 and 11 respectively and equal to the width of digits being displayed.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10 characters right aligned in a field of 10 is that same as left or center aligned.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2015 19:21:23 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2015-07-15T19:21:23Z</dc:date>
    <item>
      <title>PUT Function with alignment</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PUT-Function-with-alignment/m-p/203997#M50846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Function, I am trying to use the PUT function to chance numeric to character and also right align the results.&amp;nbsp; I dont know why is not right aligining.&amp;nbsp; Can anyone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA WANT;&lt;/P&gt;&lt;P&gt;PHONE= 9999999999;&lt;/P&gt;&lt;P&gt;PHONE_C= PUT(PHONE, 10. -R);&lt;/P&gt;&lt;P&gt;SSN= 999999999;&lt;/P&gt;&lt;P&gt;SSN_C= PUT(SSN, SSN11. -R);&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the results I get:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image" src="https://communities.sas.com/legacyfs/online/11172_Capture.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do I need to do to have PHONE_C and SSN_C right align?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 18:44:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PUT-Function-with-alignment/m-p/203997#M50846</guid>
      <dc:creator>ismahero2</dc:creator>
      <dc:date>2015-07-15T18:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: PUT Function with alignment</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PUT-Function-with-alignment/m-p/203998#M50847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They are right aligned.&amp;nbsp; However, the length of the newly created variables PHONE_C and SSN_C are 10 and 11 respectively and equal to the width of digits being displayed.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10 characters right aligned in a field of 10 is that same as left or center aligned.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 19:21:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PUT-Function-with-alignment/m-p/203998#M50847</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2015-07-15T19:21:23Z</dc:date>
    </item>
  </channel>
</rss>

