<?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: Using SAS Function to Create SAS Format in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Using-SAS-Function-to-Create-SAS-Format/m-p/686242#M208201</link>
    <description>Thanks been staring at this for hours. Apprecaite it.</description>
    <pubDate>Wed, 23 Sep 2020 22:30:46 GMT</pubDate>
    <dc:creator>jimbobob</dc:creator>
    <dc:date>2020-09-23T22:30:46Z</dc:date>
    <item>
      <title>Using SAS Function to Create SAS Format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-SAS-Function-to-Create-SAS-Format/m-p/686237#M208198</link>
      <description>&lt;P&gt;I'm trying use proc fcmp to create a function that in turn creates a format, I've tried using the SAS sample code: &lt;A href="https://support.sas.com/documentation/cdl/en/proc/65145/HTML/default/viewer.htm#n1eyyzaux0ze5ln1k03gl338avbj.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/proc/65145/HTML/default/viewer.htm#n1eyyzaux0ze5ln1k03gl338avbj.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know the sample given is formatting a numeric field, in my code my data in character and I want the format to come out as a character. in the attached code you can see the NAICS_CD column in the proc print comes out blank, but I want it to match the INDUSTRY_CD column. Attached is my code. thanks&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 22:19:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-SAS-Function-to-Create-SAS-Format/m-p/686237#M208198</guid>
      <dc:creator>jimbobob</dc:creator>
      <dc:date>2020-09-23T22:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using SAS Function to Create SAS Format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-SAS-Function-to-Create-SAS-Format/m-p/686240#M208199</link>
      <description>&lt;P&gt;You need to use a character format.&amp;nbsp; Notice the $.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
   value $FINDUSTRY_CD 
         other=[FINDUSTRY_CD()]; 
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Sep 2020 22:26:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-SAS-Function-to-Create-SAS-Format/m-p/686240#M208199</guid>
      <dc:creator>CurtisMackWSIPP</dc:creator>
      <dc:date>2020-09-23T22:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Using SAS Function to Create SAS Format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-SAS-Function-to-Create-SAS-Format/m-p/686242#M208201</link>
      <description>Thanks been staring at this for hours. Apprecaite it.</description>
      <pubDate>Wed, 23 Sep 2020 22:30:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-SAS-Function-to-Create-SAS-Format/m-p/686242#M208201</guid>
      <dc:creator>jimbobob</dc:creator>
      <dc:date>2020-09-23T22:30:46Z</dc:date>
    </item>
  </channel>
</rss>

