<?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 How to Convert a number to character ID# in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-Convert-a-number-to-character-ID/m-p/439479#M109668</link>
    <description>&lt;P&gt;DATA FINAL;&lt;/P&gt;&lt;P&gt;SET WORK.EMSM;&lt;/P&gt;&lt;P&gt;PARENT=CHILD;&lt;/P&gt;&lt;P&gt;I've tried several different ways Rename, Attrib, Format functions and nothing is working. The child values are 4 digits (ex.0001).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HERE'S MY CODE&lt;/P&gt;&lt;P&gt;Data final (RENAME=(CHILD=CHILDnum));&lt;/P&gt;&lt;P&gt;SET WORK.EMSM&amp;nbsp;;&lt;/P&gt;&lt;P&gt;PARENT=CHILD;&lt;/P&gt;&lt;P&gt;CHILD=PUT(CHILDnum, 4.);&lt;/P&gt;&lt;P&gt;DROP=CHILDnum;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Feb 2018 21:37:57 GMT</pubDate>
    <dc:creator>KoKo312</dc:creator>
    <dc:date>2018-02-22T21:37:57Z</dc:date>
    <item>
      <title>How to Convert a number to character ID#</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Convert-a-number-to-character-ID/m-p/439479#M109668</link>
      <description>&lt;P&gt;DATA FINAL;&lt;/P&gt;&lt;P&gt;SET WORK.EMSM;&lt;/P&gt;&lt;P&gt;PARENT=CHILD;&lt;/P&gt;&lt;P&gt;I've tried several different ways Rename, Attrib, Format functions and nothing is working. The child values are 4 digits (ex.0001).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HERE'S MY CODE&lt;/P&gt;&lt;P&gt;Data final (RENAME=(CHILD=CHILDnum));&lt;/P&gt;&lt;P&gt;SET WORK.EMSM&amp;nbsp;;&lt;/P&gt;&lt;P&gt;PARENT=CHILD;&lt;/P&gt;&lt;P&gt;CHILD=PUT(CHILDnum, 4.);&lt;/P&gt;&lt;P&gt;DROP=CHILDnum;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2018 21:37:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Convert-a-number-to-character-ID/m-p/439479#M109668</guid>
      <dc:creator>KoKo312</dc:creator>
      <dc:date>2018-02-22T21:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to Convert a number to character ID#</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Convert-a-number-to-character-ID/m-p/439488#M109670</link>
      <description>I think you are looking for a z4. format from the question but not positive. Check out this explanation and see if that is what you are looking for: &lt;A href="https://communities.sas.com/t5/SAS-Procedures/how-to-pad-character-variable-with-leading-zeroes/td-p/40486" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/how-to-pad-character-variable-with-leading-zeroes/td-p/40486&lt;/A&gt;</description>
      <pubDate>Thu, 22 Feb 2018 21:54:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Convert-a-number-to-character-ID/m-p/439488#M109670</guid>
      <dc:creator>Larrihoover</dc:creator>
      <dc:date>2018-02-22T21:54:37Z</dc:date>
    </item>
  </channel>
</rss>

