<?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: Proc Format to create user defined formats in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117694#M32445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is 100% correct.&amp;nbsp; Formats, even formats applied to a variable in a DATA step and part of the dataset attributes, do not change the underlying values of the variable.&amp;nbsp; So even if it prints as "Caucasian" the unformmatted value should still be 1.&amp;nbsp; This unformmatted value is what you need to use in your new format statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2013 23:36:53 GMT</pubDate>
    <dc:creator>TashaChapman</dc:creator>
    <dc:date>2013-02-21T23:36:53Z</dc:date>
    <item>
      <title>Proc Format to create user defined formats</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117679#M32430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #000000; font-family: 'Lucida Grande', Arial, sans-serif; font-size: small; background-color: #ffffff;"&gt;I am receiving a syntax error with the following Race format. Can you please provide some guidance?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Lucida Grande', Arial, sans-serif; font-size: small; background-color: #ffffff;"&gt;Race is numeric and must remain numeric.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Lucida Grande', Arial, sans-serif; font-size: small; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Lucida Grande', Arial, sans-serif; font-size: small; background-color: #ffffff;"&gt;proc format;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Lucida Grande', Arial, sans-serif; font-size: small; background-color: #ffffff;"&gt;value Race&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Lucida Grande', Arial, sans-serif; font-size: small; background-color: #ffffff;"&gt;Caucasian = 'White'&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Lucida Grande', Arial, sans-serif; font-size: small; background-color: #ffffff;"&gt;Black,Asian,not entered,other ='Other';&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Lucida Grande', Arial, sans-serif; font-size: small; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Lucida Grande', Arial, sans-serif; font-size: small; background-color: #ffffff;"&gt;proc freq data=combine;&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Lucida Grande', Arial, sans-serif; font-size: small; background-color: #ffffff;"&gt;tables Doselot Wt_Cat Race*Weight / nocum;&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Lucida Grande', Arial, sans-serif; font-size: small; background-color: #ffffff;"&gt;format Race Race.;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 15:46:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117679#M32430</guid>
      <dc:creator>SASFNG</dc:creator>
      <dc:date>2013-02-21T15:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format to create user defined formats</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117680#M32431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is a character field, thus you have to precede the format name with a $&amp;nbsp; e.g.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format;&lt;/P&gt;&lt;P&gt;value $Race&lt;/P&gt;&lt;P&gt;Caucasian = 'White'&lt;/P&gt;&lt;P&gt;Black,Asian,not entered,other ='Other';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc freq data=combine;&lt;/P&gt;&lt;P&gt;tables Doselot Wt_Cat Race*Weight / nocum;&lt;/P&gt;&lt;P&gt;format Race $Race.;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 16:10:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117680#M32431</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2013-02-21T16:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format to create user defined formats</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117681#M32432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition, consider ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll need quotes around values that get translated:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;value $Race&lt;/P&gt;&lt;P&gt;'Caucasian' = 'White'&lt;/P&gt;&lt;P&gt;'Black', 'Asian', 'not entered', other='Other';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does "not entered" mean?&amp;nbsp; Does it mean that RACE actually contains the characters "not entered" or does it mean RACE is blank?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does "other" mean?&amp;nbsp; Does it mean that RACE actually contains the characters "other" or does it mean that RACE contains something else such as Hispanic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Capitalization is important.&amp;nbsp; The format will look for an exact match between the format definition and the data values for RACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of these issues can affect how you code the VALUE statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 17:14:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117681#M32432</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2013-02-21T17:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format to create user defined formats</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117682#M32433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the other hand ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If RACE is really numeric, you need to know what values it actually takes on.&amp;nbsp; Certainly a numeric variable can't take on values like "Caucasian".&amp;nbsp; Code the actual values (not the formatted translations) in the VALUE statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;value Race&lt;/P&gt;&lt;P&gt;1 = 'White'&lt;/P&gt;&lt;P&gt;2, 3, other='Other';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 17:19:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117682#M32433</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2013-02-21T17:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format to create user defined formats</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117683#M32434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought the quotes on the source were required but not so when I tested with SAS 9.2&lt;/P&gt;&lt;P&gt;I'm familiar with several data sources that will export a text field of 'not entered' or similar when an option button or other widget in a data base is not activated or no choice made from a group. Ugly but true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I usually use an infomat to make these a numeric so I can assign things like 'not entered' to missing as 'Other', at least with my data sources race codes means either multi-racial or a respondant insisted on something other than the planned single racial codes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 20:40:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117683#M32434</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-02-21T20:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format to create user defined formats</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117684#M32435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting.&amp;nbsp; I tried it under 9.3 and got the same results ... quotes are not needed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to explore, I tried defining the format in two ways:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;other='Other'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'other'='Other'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without the quotes around other, it was treated as all other values not defined by the format.&amp;nbsp; Adding the quotes around other limited that category to just the letters "other".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FWIW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 21:30:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117684#M32435</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2013-02-21T21:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format to create user defined formats</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117685#M32436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a previous formatting statement I created the numeric value of Race&lt;BR /&gt; proc format;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value Race&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Caucasian'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Black'&lt;/P&gt;&lt;P&gt;etc. so it is a numeric variable. I even double checked in the variables properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And, yes 'Not Entered' and 'Other' are actual characters in the Race value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 22:50:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117685#M32436</guid>
      <dc:creator>SASFNG</dc:creator>
      <dc:date>2013-02-21T22:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format to create user defined formats</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117686#M32437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you can teach me/us something: How does one enter 'Not Entered' into a numeric field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 22:53:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117686#M32437</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2013-02-21T22:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format to create user defined formats</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117687#M32438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whether the format is character or numeric is based on the source data, not the output value.&amp;nbsp; If the incoming source data is character, than the format name should begin with a $.&amp;nbsp; If the incoming source data is numeric, then the format name should not begin with a $, but the values to the left of the = should be actual numbers.&amp;nbsp; What you have listed in your original post is a mix of these two, so you can see why people are confused.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, creating a format with PROC Format, does not actually associate the format with any given variable.&amp;nbsp; It merely creates a template that can be used later.&amp;nbsp; So when you say that you "created the numeric value of Race" using a previous PROC Format, that's not actually accurate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if the original input data is numeric then you might use this format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Lucida Grande', Arial, sans-serif; font-size: small; background-color: #ffffff;"&gt;proc format;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Lucida Grande',Arial,sans-serif; font-size: small; background-color: #ffffff;"&gt;value Race&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Lucida Grande',Arial,sans-serif; font-size: small; background-color: #ffffff;"&gt;1= 'White'&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Lucida Grande',Arial,sans-serif; font-size: small; background-color: #ffffff;"&gt;other ='Other';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if the original input data is character then you might use this format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Lucida Grande', Arial, sans-serif; font-size: small; background-color: #ffffff;"&gt;proc format;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Lucida Grande',Arial,sans-serif; font-size: small; background-color: #ffffff;"&gt;value $Race&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Lucida Grande',Arial,sans-serif; font-size: small; background-color: #ffffff;"&gt;Caucasian = 'White'&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Lucida Grande',Arial,sans-serif; font-size: small; background-color: #ffffff;"&gt;other = 'Other';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, be aware that character formats are case sensitive...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 23:08:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117687#M32438</guid>
      <dc:creator>TashaChapman</dc:creator>
      <dc:date>2013-02-21T23:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format to create user defined formats</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117688#M32439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if the field is controlled by a SAS application (I recall them using informats), these can tolerate values that appear to be non-numeric. These non-numeric values&amp;nbsp; wou;ld be treated and assigned special numeric values, or even special missing values - all with no fuss.&lt;/P&gt;&lt;P&gt;I do not know if such fuctionality has been extended to html or java applications&lt;/P&gt;&lt;P&gt; &lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 23:15:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117688#M32439</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2013-02-21T23:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format to create user defined formats</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117689#M32440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I was trying to save time. I am aware that it is just a template to activate later. and it is not other='other' it really is .='other'. The source data is numeric. The original formating&lt;/P&gt;&lt;P&gt;1 = 'Causian' etc kept it numeric&lt;BR /&gt;Let's ignore the 'not entered' for now. I think that is supposed to be other. I will have to double check later. My problem now is now to convert a numeric 'Caucasian' to 'White'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 23:16:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117689#M32440</guid>
      <dc:creator>SASFNG</dc:creator>
      <dc:date>2013-02-21T23:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format to create user defined formats</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117690#M32441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I seriously doubt I could teach you anything...relating to SAS. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; I am sure this is my error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 23:19:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117690#M32441</guid>
      <dc:creator>SASFNG</dc:creator>
      <dc:date>2013-02-21T23:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format to create user defined formats</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117691#M32442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would be surprised.&amp;nbsp; NONE of us know everything about SAS!&amp;nbsp; And I would include the developers, as well, in that comment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even after 40 years of using SAS, I am still learning new things every day.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 23:25:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117691#M32442</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2013-02-21T23:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format to create user defined formats</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117692#M32443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a newbie, that scares me. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, I think I get it. Even though I previously applied and activated a format, the original numeric values for Race are still there and I should use those again?&lt;/P&gt;&lt;P&gt;1 = 'White'&lt;/P&gt;&lt;P&gt;2, 3, 4 = 'other'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 23:28:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117692#M32443</guid>
      <dc:creator>SASFNG</dc:creator>
      <dc:date>2013-02-21T23:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format to create user defined formats</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117693#M32444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A __default_attr="428613" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/" modifiedtitle="true" title="PeterC."&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have caught my attention and may be teaching me something today.&amp;nbsp; Are you saying that character fields, that contain some kind of special numeric value, wouldn't require a character format?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, please point me in the direction of what to read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Art&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p.s.&amp;nbsp; Are you going to be at SGF this year?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 23:31:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117693#M32444</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2013-02-21T23:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format to create user defined formats</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117694#M32445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is 100% correct.&amp;nbsp; Formats, even formats applied to a variable in a DATA step and part of the dataset attributes, do not change the underlying values of the variable.&amp;nbsp; So even if it prints as "Caucasian" the unformmatted value should still be 1.&amp;nbsp; This unformmatted value is what you need to use in your new format statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 23:36:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117694#M32445</guid>
      <dc:creator>TashaChapman</dc:creator>
      <dc:date>2013-02-21T23:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format to create user defined formats</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117695#M32446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes!&amp;nbsp; As for my comment, don't be scarred.&amp;nbsp; That is what makes SAS such a useful language.&amp;nbsp; There are always new features, procs and functions being added, which is what makes it the powerful tool that it has been all these years.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 23:44:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117695#M32446</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2013-02-21T23:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format to create user defined formats</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117696#M32447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone for all your help! I really appreciate it. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 23:52:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117696#M32447</guid>
      <dc:creator>SASFNG</dc:creator>
      <dc:date>2013-02-21T23:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format to create user defined formats</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117697#M32448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I mark this as answered? Or do you guys do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 23:53:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117697#M32448</guid>
      <dc:creator>SASFNG</dc:creator>
      <dc:date>2013-02-21T23:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format to create user defined formats</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117698#M32449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Art&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;an informat can convert a string into a number&lt;/P&gt;&lt;P&gt;Which informat is appropriate for these?&lt;/P&gt;&lt;P&gt;1.2&lt;/P&gt;&lt;P&gt;1:2&lt;/P&gt;&lt;P&gt;01-02-03&lt;/P&gt;&lt;P&gt;?????????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, all could be read with either 8. or&amp;nbsp; $8. or anydttme. - not always with a useful result &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But they are all typed into a box as characters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;another example&lt;/P&gt;&lt;P&gt;age-not-admitted&lt;/P&gt;&lt;P&gt;used to be a special string for date-of-birth, when a lady's modesty was "tolerated" by insurance companies&lt;/P&gt;&lt;P&gt;And in SAS we would use a special informat accepting that string as .N and other strings were informatted by the DATE informat&lt;/P&gt;&lt;P&gt;value anadate&amp;nbsp;&amp;nbsp; 'age-not-admitted' = .N other =[date9.] ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See you in SASGF&lt;/P&gt;&lt;P&gt;(not long now!)&lt;/P&gt;&lt;P&gt;(for completing 2 papers and presentations &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;peterC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 00:13:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Format-to-create-user-defined-formats/m-p/117698#M32449</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2013-02-22T00:13:52Z</dc:date>
    </item>
  </channel>
</rss>

