<?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 in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/297941#M60308</link>
    <description>&lt;P&gt;When you create the format $JOBF with proc format, you also must use the format $JOBF (note the dollar sign) in the format statement that assigns the format to a variable. A format without the dollar sign is always indicating a numeric format.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Sep 2016 08:23:11 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2016-09-13T08:23:11Z</dc:date>
    <item>
      <title>proc format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/297932#M60307</link>
      <description>&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/4904i3B9F65E02AE242C7/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="jobfmt.png" title="jobfmt.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/4905i30450F5277D5064D/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="payrolljobcode.png" title="payrolljobcode.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/4906i6A57531790612D1D/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="payrollprint.png" title="payrollprint.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/4907i0B5BBDD2D3C5C084/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="logerror.png" title="logerror.png" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to create a character format and when I use the format in the print statement, the log window displays the following error. I defined the format type to be a character type format. But the error message tells me that I'm using a numerical format type on a character variable. What can be the solution? how can JobCode's - mixed values (character and numeric type) be displayed using a proc format? Is it possible? If no, is there any other solution for this?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 07:28:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/297932#M60307</guid>
      <dc:creator>SamuelRajKandru</dc:creator>
      <dc:date>2016-09-13T07:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: proc format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/297941#M60308</link>
      <description>&lt;P&gt;When you create the format $JOBF with proc format, you also must use the format $JOBF (note the dollar sign) in the format statement that assigns the format to a variable. A format without the dollar sign is always indicating a numeric format.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 08:23:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/297941#M60308</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-09-13T08:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: proc format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/298992#M60370</link>
      <description>Done that, but of no use. My variable has mixed values. So I need to figure how to create a format for the jobcode values like 'ME2' and 'SE3'. Is there any way?&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Sep 2016 17:20:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/298992#M60370</guid>
      <dc:creator>SamuelRajKandru</dc:creator>
      <dc:date>2016-09-16T17:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: proc format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/299203#M60420</link>
      <description>&lt;P&gt;"Mixed values" does &lt;U&gt;not&lt;/U&gt; mean mixed type. If your variable can contain alphanumeric values, then your variable is of type character, period.&lt;/P&gt;
&lt;P&gt;So you must create &lt;U&gt;and use&lt;/U&gt; a character format.&lt;/P&gt;
&lt;P&gt;If you have numeric values in your string that need to be displayed with a generic number format, you will have to do a character-to-numeric conversion before applying a numeric format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2016 05:44:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/299203#M60420</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-09-19T05:44:44Z</dc:date>
    </item>
  </channel>
</rss>

