<?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 Getting decoded format output in Proc Transpose in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Getting-decoded-format-output-in-Proc-Transpose/m-p/42639#M8734</link>
    <description>I have a macro that will do a data step for all datasets in a specified library, then it does a sort on all the datasets.  I then do a proc transpose.  The datasets all come together fine but the output under COL1 all the data is the uncoded values. &lt;BR /&gt;
Example  1= NO the dataset shows 1 instead of no.  How in a transpose do I get these values to come out.  This program is to run generically across any study chosen within the application so using a format statement for specific formats will not work.</description>
    <pubDate>Tue, 09 Jun 2009 15:42:39 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-06-09T15:42:39Z</dc:date>
    <item>
      <title>Getting decoded format output in Proc Transpose</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-decoded-format-output-in-Proc-Transpose/m-p/42639#M8734</link>
      <description>I have a macro that will do a data step for all datasets in a specified library, then it does a sort on all the datasets.  I then do a proc transpose.  The datasets all come together fine but the output under COL1 all the data is the uncoded values. &lt;BR /&gt;
Example  1= NO the dataset shows 1 instead of no.  How in a transpose do I get these values to come out.  This program is to run generically across any study chosen within the application so using a format statement for specific formats will not work.</description>
      <pubDate>Tue, 09 Jun 2009 15:42:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-decoded-format-output-in-Proc-Transpose/m-p/42639#M8734</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-06-09T15:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Getting decoded format output in Proc Transpose</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-decoded-format-output-in-Proc-Transpose/m-p/42640#M8735</link>
      <description>There are specific, defined rules for PROC TRANSPOSE and handling numeric and character variables that have a 'formatted value' associated.  See the documentation for applying an ID statement (and possibly the PREFIX= keyword) where you have a numeric variable value which you want to take on some other string when generating your SAS variable/column names during TRANSPOSE.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
PROC TRANSPOSE documentation, refer to section on "Attributes of Transposed Variables"&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a000063675.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a000063675.htm&lt;/A&gt;</description>
      <pubDate>Tue, 09 Jun 2009 17:17:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-decoded-format-output-in-Proc-Transpose/m-p/42640#M8735</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-06-09T17:17:36Z</dc:date>
    </item>
  </channel>
</rss>

