<?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 Different Users, Different Results for a Format in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Different-Users-Different-Results-for-a-Format/m-p/17544#M3338</link>
    <description>I am new to SAS, but I need to explain a strange behaviour. Could you help me understand this :&lt;BR /&gt;
&lt;BR /&gt;
- With my user, when I use a format defined by my company, I get the a good result.&lt;BR /&gt;
  &lt;B&gt;data&lt;/B&gt; Code_Desc;&lt;BR /&gt;
     set LIB.MY_TABLE;&lt;BR /&gt;
     DESC = put(Code,&lt;B&gt; $cpy_desc.&lt;/B&gt;);&lt;BR /&gt;
  &lt;B&gt;run&lt;/B&gt;;&lt;BR /&gt;
&lt;BR /&gt;
- With another user, the same code, give a different DESC.&lt;BR /&gt;
&lt;BR /&gt;
What could be the reason for these different results ? Is it possible that we have 2 format with the same name on the server and that it's not the same depending on the user ? &lt;BR /&gt;
&lt;BR /&gt;
Thanks.</description>
    <pubDate>Fri, 15 Oct 2010 15:34:41 GMT</pubDate>
    <dc:creator>DRP</dc:creator>
    <dc:date>2010-10-15T15:34:41Z</dc:date>
    <item>
      <title>Different Users, Different Results for a Format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Different-Users-Different-Results-for-a-Format/m-p/17544#M3338</link>
      <description>I am new to SAS, but I need to explain a strange behaviour. Could you help me understand this :&lt;BR /&gt;
&lt;BR /&gt;
- With my user, when I use a format defined by my company, I get the a good result.&lt;BR /&gt;
  &lt;B&gt;data&lt;/B&gt; Code_Desc;&lt;BR /&gt;
     set LIB.MY_TABLE;&lt;BR /&gt;
     DESC = put(Code,&lt;B&gt; $cpy_desc.&lt;/B&gt;);&lt;BR /&gt;
  &lt;B&gt;run&lt;/B&gt;;&lt;BR /&gt;
&lt;BR /&gt;
- With another user, the same code, give a different DESC.&lt;BR /&gt;
&lt;BR /&gt;
What could be the reason for these different results ? Is it possible that we have 2 format with the same name on the server and that it's not the same depending on the user ? &lt;BR /&gt;
&lt;BR /&gt;
Thanks.</description>
      <pubDate>Fri, 15 Oct 2010 15:34:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Different-Users-Different-Results-for-a-Format/m-p/17544#M3338</guid>
      <dc:creator>DRP</dc:creator>
      <dc:date>2010-10-15T15:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Different Users, Different Results for a Format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Different-Users-Different-Results-for-a-Format/m-p/17545#M3339</link>
      <description>When you mention: "...different results "?  -- presuming the results are not just truncated or some data-display issue but a "complete value difference"?&lt;BR /&gt;
&lt;BR /&gt;
And one must presume that you are comparing the combination of values for variables CODE and DESC, correct?&lt;BR /&gt;
&lt;BR /&gt;
Given these assumptions, yes, it is possible that your SAS CONFIG OPTIONS setting for FMTSEARCH=(...)  is different, which could explain the behavior.  You can compare these settings using this command:&lt;BR /&gt;
&lt;BR /&gt;
proc options option=fmtsearch;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
...or...&lt;BR /&gt;
&lt;BR /&gt;
%PUT &amp;gt;DIAG&amp;gt;  FMTSEARCH IS: %SYSFUNC(GETOPTION(FMTSEARCH));&lt;BR /&gt;
&lt;BR /&gt;
Then you will need to investigate the format catalogs displayed above, and use this SAS code piece to reveal each format's contents:&lt;BR /&gt;
&lt;BR /&gt;
PROC FORMAT PRINT LIB=&lt;LIBREF&gt;.&lt;CATALOG&gt;;&lt;BR /&gt;
  SELECT $CPY_DESC;&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;/CATALOG&gt;&lt;/LIBREF&gt;</description>
      <pubDate>Fri, 15 Oct 2010 18:55:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Different-Users-Different-Results-for-a-Format/m-p/17545#M3339</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-10-15T18:55:37Z</dc:date>
    </item>
  </channel>
</rss>

