<?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: Use user-defined and SAS defined formats on one variable? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Use-user-defined-and-SAS-defined-formats-on-one-variable/m-p/65785#M18754</link>
    <description>Many thanks! I tried without the [] before posting the question...and of course that was not a good idea :-).</description>
    <pubDate>Wed, 26 Jan 2011 16:31:50 GMT</pubDate>
    <dc:creator>mnew</dc:creator>
    <dc:date>2011-01-26T16:31:50Z</dc:date>
    <item>
      <title>Use user-defined and SAS defined formats on one variable?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Use-user-defined-and-SAS-defined-formats-on-one-variable/m-p/65783#M18752</link>
      <description>Experts:&lt;BR /&gt;
Another beginner question. What to do when you want to use a SAS defined format for some values and apply a user-defined format for the rest? For example, if you have a variable for hire date, you need to show most dates in mmddyy10. but for super early hire dates, you want to show "long tenure" (instead of the specific date). &lt;BR /&gt;
&lt;BR /&gt;
Thank you!&lt;BR /&gt;
&lt;BR /&gt;
proc format;&lt;BR /&gt;
	Value Tenure&lt;BR /&gt;
	low-'01Jan1970'd='Long Tenure';&lt;BR /&gt;
run;&lt;BR /&gt;
proc print data=sasuser.navigators;&lt;BR /&gt;
	format hired Tenure.;&lt;BR /&gt;
run;</description>
      <pubDate>Wed, 26 Jan 2011 04:40:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Use-user-defined-and-SAS-defined-formats-on-one-variable/m-p/65783#M18752</guid>
      <dc:creator>mnew</dc:creator>
      <dc:date>2011-01-26T04:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Use user-defined and SAS defined formats on one variable?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Use-user-defined-and-SAS-defined-formats-on-one-variable/m-p/65784#M18753</link>
      <description>Hi.&lt;BR /&gt;
That is easy.&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
proc format;&lt;BR /&gt;
Value Tenure&lt;BR /&gt;
low-'01Jan1970'd='Long Tenure'&lt;BR /&gt;
other=[mmddyy10];&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Wed, 26 Jan 2011 05:12:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Use-user-defined-and-SAS-defined-formats-on-one-variable/m-p/65784#M18753</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-01-26T05:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Use user-defined and SAS defined formats on one variable?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Use-user-defined-and-SAS-defined-formats-on-one-variable/m-p/65785#M18754</link>
      <description>Many thanks! I tried without the [] before posting the question...and of course that was not a good idea :-).</description>
      <pubDate>Wed, 26 Jan 2011 16:31:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Use-user-defined-and-SAS-defined-formats-on-one-variable/m-p/65785#M18754</guid>
      <dc:creator>mnew</dc:creator>
      <dc:date>2011-01-26T16:31:50Z</dc:date>
    </item>
  </channel>
</rss>

