<?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: how to show two formats in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-show-two-formats/m-p/507066#M136020</link>
    <description>&lt;P&gt;Read the &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=proc&amp;amp;docsetTarget=p13qw1bnotx0gon14dvyt7n6zop8.htm&amp;amp;locale=en" target="_blank"&gt;documentation for the select statement&lt;/A&gt; in proc format.&lt;/P&gt;</description>
    <pubDate>Wed, 24 Oct 2018 07:19:30 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2018-10-24T07:19:30Z</dc:date>
    <item>
      <title>how to show two formats</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-show-two-formats/m-p/507063#M136017</link>
      <description>&lt;P&gt;&lt;BR /&gt;proc format ;&lt;BR /&gt;value $ gender 'F'='female' 'M'='male' ;&lt;BR /&gt;invalue sex 'F'=1 'M'=2 ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc format fmtlib ;&lt;BR /&gt;select $gender sex;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it i run above program it show only $ gender format.&lt;/P&gt;&lt;P&gt;how to show two formats at a time&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 07:12:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-show-two-formats/m-p/507063#M136017</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2018-10-24T07:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to show two formats</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-show-two-formats/m-p/507066#M136020</link>
      <description>&lt;P&gt;Read the &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=proc&amp;amp;docsetTarget=p13qw1bnotx0gon14dvyt7n6zop8.htm&amp;amp;locale=en" target="_blank"&gt;documentation for the select statement&lt;/A&gt; in proc format.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 07:19:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-show-two-formats/m-p/507066#M136020</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-10-24T07:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to show two formats</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-show-two-formats/m-p/507072#M136025</link>
      <description>&lt;P&gt;Does not make any sense?&amp;nbsp; A column has one format, one informat, one label, and one name.&amp;nbsp; In the below you are creating a format, fine, that can be assigned to the variable, and an informat, which is not used?&amp;nbsp; A correct select statement if you want one as format and one as informat would be:&lt;/P&gt;
&lt;PRE&gt;select sex format=$gender. informat=sex.&lt;/PRE&gt;
&lt;P&gt;I expect you will now be going through all your old posts and marking them as correct/responding to users posting there?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 07:51:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-show-two-formats/m-p/507072#M136025</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-10-24T07:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to show two formats</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-show-two-formats/m-p/507172#M136064</link>
      <description>&lt;P&gt;From the documentation&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;H4 class="xis-argument"&gt;&lt;SPAN class="xis-userSuppliedValue"&gt;entry(s)&lt;/SPAN&gt;&lt;/H4&gt;
&lt;DIV class="xis-argumentDescription"&gt;
&lt;P class="xis-paraSimpleFirst"&gt;specifies one or more catalog entries for processing. Catalog entry names are the same as the name of the informat or format that they store. Because informats and formats can have the same name, and because character and numeric informats or formats can have the same name, you must use certain prefixes when specifying informats and formats in the SELECT statement. Follow these rules when specifying entries in the SELECT statement:&lt;/P&gt;
&lt;DIV class="xis-listUnordered"&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV class="xis-item" id="n11un9g37i9g1jn1eal4mbv6429n"&gt;
&lt;DIV class="xis-paraSimpleFirst" id="n1uqkjmatkpx82n166ldrkh0gn15"&gt;Precede names of entries that contain character formats with a dollar sign ($).&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class="xis-item" id="p0uceasooj7mv1n17777t7cl0blp"&gt;
&lt;DIV class="xis-paraSimpleFirst" id="n0c9zid6w8etf6n0z69cuhew5es1"&gt;Precede names of entries that contain character informats with an at sign and a dollar sign (for example, @$&lt;SPAN class="xis-userSuppliedValue"&gt;entry-name&lt;/SPAN&gt;).&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class="xis-item" id="p0r4s4k3t45kp3n10j2237bspf2g"&gt;
&lt;DIV class="xis-paraSimpleFirst" id="p1hnb3m4911lcen11dgwiqapewvk"&gt;&lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;Precede names of entries that contain numeric informats with an at sign (@).&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class="xis-item" id="n0vgf6p7r9crcsn1no07puatycdl"&gt;
&lt;DIV class="xis-paraSimpleFirst" id="p0vdo70s64mq6un1etny53rbzugk"&gt;Specify names of entries that contain numeric formats without&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 14:35:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-show-two-formats/m-p/507172#M136064</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-10-24T14:35:34Z</dc:date>
    </item>
  </channel>
</rss>

