<?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: Zipcode issue in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Zipcode-issue/m-p/33882#M6662</link>
    <description>If you have a combination of zip_code and zip+4 values, you will need to store the string as character, and for instances where there is no dash, use the PUT function and the Z5. format as mentioned to create the SAS CHARACTER variable $10, otherwise you should already have a ten-digit string since it will not be converted by Excel.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
    <pubDate>Tue, 19 May 2009 17:13:49 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2009-05-19T17:13:49Z</dc:date>
    <item>
      <title>Zipcode issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Zipcode-issue/m-p/33880#M6660</link>
      <description>Excel truncates any leading zeros.But some of the zip codes start with a zero, so in SAS we will have zipcodes with missing leading zeros.Is there any function that adds required number of zeros to the zip code.I will have a 5 digit zipcode.</description>
      <pubDate>Tue, 19 May 2009 16:24:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Zipcode-issue/m-p/33880#M6660</guid>
      <dc:creator>SASPhile</dc:creator>
      <dc:date>2009-05-19T16:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Zipcode issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Zipcode-issue/m-p/33881#M6661</link>
      <description>If you are storing it in SAS as a number, you can display it with leading zeros using the z5. format (In Excel, you can use an Excel format to display ZIP codes with leading zeros).&lt;BR /&gt;
&lt;BR /&gt;
If you are storing the number in a 5-byte character field in SAS, you could put the zeros back with the translate function (first make sure the remaining digits are right-justified).</description>
      <pubDate>Tue, 19 May 2009 16:52:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Zipcode-issue/m-p/33881#M6661</guid>
      <dc:creator>JackHamilton</dc:creator>
      <dc:date>2009-05-19T16:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Zipcode issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Zipcode-issue/m-p/33882#M6662</link>
      <description>If you have a combination of zip_code and zip+4 values, you will need to store the string as character, and for instances where there is no dash, use the PUT function and the Z5. format as mentioned to create the SAS CHARACTER variable $10, otherwise you should already have a ten-digit string since it will not be converted by Excel.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Tue, 19 May 2009 17:13:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Zipcode-issue/m-p/33882#M6662</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-05-19T17:13:49Z</dc:date>
    </item>
  </channel>
</rss>

