<?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: Switching off formats in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Switching-off-formats/m-p/40532#M4862</link>
    <description>You can use varying techniques with the SAS FORMAT statement, such as:&lt;BR /&gt;
&lt;BR /&gt;
FORMAT _CHARACTER_ ;&lt;BR /&gt;
FORMAT _NUMERIC_;&lt;BR /&gt;
FORMAT _ALL_ ;&lt;BR /&gt;
FORMAT MYVAR:  ;&lt;BR /&gt;
&lt;BR /&gt;
See example execution below.&lt;BR /&gt;
&lt;BR /&gt;
Scott  Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
24   data x;&lt;BR /&gt;
25   retain a 'A' b 100;&lt;BR /&gt;
26   format a $HEX2. b hex4.;&lt;BR /&gt;
27   putlog _all_;&lt;BR /&gt;
28   run;&lt;BR /&gt;
&lt;BR /&gt;
a=41 b=0064 _ERROR_=0 _N_=1&lt;BR /&gt;
NOTE: The data set WORK.X has 1 observations and 2 variables.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
29   data y;&lt;BR /&gt;
30   set x;&lt;BR /&gt;
31   format _all_ ;&lt;BR /&gt;
32   putlog _all_;&lt;BR /&gt;
33   run;&lt;BR /&gt;
&lt;BR /&gt;
a=A b=100 _ERROR_=0 _N_=1&lt;BR /&gt;
NOTE: There were 1 observations read from the data set WORK.X.&lt;BR /&gt;
NOTE: The data set WORK.Y has 1 observations and 2 variables.</description>
    <pubDate>Fri, 25 Jun 2010 16:29:11 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2010-06-25T16:29:11Z</dc:date>
    <item>
      <title>Switching off formats</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Switching-off-formats/m-p/40531#M4861</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
When opening up data tables, I often need to look at the underlying codes of a variable. I know you can change the format of a column to nothing in read write mode to see the underlying variable lables, but is there a quicker and easier way to switch off formatting so you see the underlying values?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
&lt;BR /&gt;
Nick</description>
      <pubDate>Thu, 24 Jun 2010 23:33:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Switching-off-formats/m-p/40531#M4861</guid>
      <dc:creator>nrose</dc:creator>
      <dc:date>2010-06-24T23:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Switching off formats</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Switching-off-formats/m-p/40532#M4862</link>
      <description>You can use varying techniques with the SAS FORMAT statement, such as:&lt;BR /&gt;
&lt;BR /&gt;
FORMAT _CHARACTER_ ;&lt;BR /&gt;
FORMAT _NUMERIC_;&lt;BR /&gt;
FORMAT _ALL_ ;&lt;BR /&gt;
FORMAT MYVAR:  ;&lt;BR /&gt;
&lt;BR /&gt;
See example execution below.&lt;BR /&gt;
&lt;BR /&gt;
Scott  Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
24   data x;&lt;BR /&gt;
25   retain a 'A' b 100;&lt;BR /&gt;
26   format a $HEX2. b hex4.;&lt;BR /&gt;
27   putlog _all_;&lt;BR /&gt;
28   run;&lt;BR /&gt;
&lt;BR /&gt;
a=41 b=0064 _ERROR_=0 _N_=1&lt;BR /&gt;
NOTE: The data set WORK.X has 1 observations and 2 variables.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
29   data y;&lt;BR /&gt;
30   set x;&lt;BR /&gt;
31   format _all_ ;&lt;BR /&gt;
32   putlog _all_;&lt;BR /&gt;
33   run;&lt;BR /&gt;
&lt;BR /&gt;
a=A b=100 _ERROR_=0 _N_=1&lt;BR /&gt;
NOTE: There were 1 observations read from the data set WORK.X.&lt;BR /&gt;
NOTE: The data set WORK.Y has 1 observations and 2 variables.</description>
      <pubDate>Fri, 25 Jun 2010 16:29:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Switching-off-formats/m-p/40532#M4862</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-06-25T16:29:11Z</dc:date>
    </item>
  </channel>
</rss>

