<?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 Formats in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Formats/m-p/62332#M13580</link>
    <description>Is there anything incorrect about the following statement ?  I am not getting the desired results.  &lt;BR /&gt;
CC = PUT(LEFT(PUT(DIAG,8.)),$&amp;amp;FMNAME..) &lt;BR /&gt;
&lt;BR /&gt;
I get an error like below.&lt;BR /&gt;
 Line generated by the macro variable "FMNAME".&lt;BR /&gt;
     $I1208YB&lt;BR /&gt;
       --------&lt;BR /&gt;
       48&lt;BR /&gt;
ERROR 48-59: The format $I1208YB was not found or could not be loaded.&lt;BR /&gt;
&lt;BR /&gt;
Earlier on in the program I have : &lt;BR /&gt;
NOTE: Entry I1208YB.FORMATC has been imported.&lt;BR /&gt;
NOTE: Total number of entries processed in catalog OUT.FORMATS: 1</description>
    <pubDate>Wed, 19 Nov 2008 15:01:26 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-11-19T15:01:26Z</dc:date>
    <item>
      <title>Formats</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Formats/m-p/62332#M13580</link>
      <description>Is there anything incorrect about the following statement ?  I am not getting the desired results.  &lt;BR /&gt;
CC = PUT(LEFT(PUT(DIAG,8.)),$&amp;amp;FMNAME..) &lt;BR /&gt;
&lt;BR /&gt;
I get an error like below.&lt;BR /&gt;
 Line generated by the macro variable "FMNAME".&lt;BR /&gt;
     $I1208YB&lt;BR /&gt;
       --------&lt;BR /&gt;
       48&lt;BR /&gt;
ERROR 48-59: The format $I1208YB was not found or could not be loaded.&lt;BR /&gt;
&lt;BR /&gt;
Earlier on in the program I have : &lt;BR /&gt;
NOTE: Entry I1208YB.FORMATC has been imported.&lt;BR /&gt;
NOTE: Total number of entries processed in catalog OUT.FORMATS: 1</description>
      <pubDate>Wed, 19 Nov 2008 15:01:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Formats/m-p/62332#M13580</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-11-19T15:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Formats</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Formats/m-p/62333#M13581</link>
      <description>Suggest you share more code, specifically the format import step.  But before that, consider that your format must be in the FMTSEARCH= catalog search list for SAS to find the format.  Use SAS PROC OPTIONS to learn your current FMTSEARCH option, and either load/import your format to WORK.FORMATS catalog or add your personal format library content to the FMTSEARCH search order.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Thu, 20 Nov 2008 22:11:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Formats/m-p/62333#M13581</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2008-11-20T22:11:58Z</dc:date>
    </item>
  </channel>
</rss>

