<?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: Getting _character after transposing in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Getting-character-after-transposing/m-p/10135#M910</link>
    <description>V7 SAS Names cannot begin with digits so PROC TRANSPOSE adds the underscore.&lt;BR /&gt;
&lt;BR /&gt;
If you use the IDLABEL statement you can create variable labels which are not bound by the rules of SAS names.&lt;BR /&gt;
&lt;BR /&gt;
Then when you display the columns use the Labels instead of the Names.&lt;BR /&gt;
&lt;BR /&gt;
There are other options but I would stick with V7 SAS names.</description>
    <pubDate>Thu, 09 Jun 2011 12:43:54 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2011-06-09T12:43:54Z</dc:date>
    <item>
      <title>Getting _character after transposing</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Getting-character-after-transposing/m-p/10134#M909</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I am using proc transpose to transpose data by month.&lt;BR /&gt;
Month is in date9. format.&lt;BR /&gt;
After transposing I am getting _before date.&lt;BR /&gt;
Ex _01jun2009.&lt;BR /&gt;
How can I remove that?&lt;BR /&gt;
&lt;BR /&gt;
Thanks ,</description>
      <pubDate>Thu, 09 Jun 2011 12:18:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Getting-character-after-transposing/m-p/10134#M909</guid>
      <dc:creator>excelsas</dc:creator>
      <dc:date>2011-06-09T12:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Getting _character after transposing</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Getting-character-after-transposing/m-p/10135#M910</link>
      <description>V7 SAS Names cannot begin with digits so PROC TRANSPOSE adds the underscore.&lt;BR /&gt;
&lt;BR /&gt;
If you use the IDLABEL statement you can create variable labels which are not bound by the rules of SAS names.&lt;BR /&gt;
&lt;BR /&gt;
Then when you display the columns use the Labels instead of the Names.&lt;BR /&gt;
&lt;BR /&gt;
There are other options but I would stick with V7 SAS names.</description>
      <pubDate>Thu, 09 Jun 2011 12:43:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Getting-character-after-transposing/m-p/10135#M910</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2011-06-09T12:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Getting _character after transposing</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Getting-character-after-transposing/m-p/10136#M911</link>
      <description>Hello ExcelSAS,&lt;BR /&gt;
&lt;BR /&gt;
You could also use format month MONYY7.; in your proc TRANSPOSE, then you should get Jun2009 instead of 01Jun2009 like in following example:&lt;BR /&gt;
[pre]&lt;BR /&gt;
data i;&lt;BR /&gt;
  d="01Jun2009"d; v=1; output;&lt;BR /&gt;
  d="01Jul2009"d; v=2; output;&lt;BR /&gt;
  format d date9.;&lt;BR /&gt;
run;&lt;BR /&gt;
proc transpose data=i out=t; &lt;BR /&gt;
  var v;&lt;BR /&gt;
  id d;&lt;BR /&gt;
  format d MONYY7.;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
Sincerely,&lt;BR /&gt;
SPR</description>
      <pubDate>Thu, 09 Jun 2011 18:17:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Getting-character-after-transposing/m-p/10136#M911</guid>
      <dc:creator>SPR</dc:creator>
      <dc:date>2011-06-09T18:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Getting _character after transposing</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Getting-character-after-transposing/m-p/10137#M912</link>
      <description>Add a system option before your code.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
options validvarname=any;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Fri, 10 Jun 2011 01:56:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Getting-character-after-transposing/m-p/10137#M912</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-06-10T01:56:19Z</dc:date>
    </item>
  </channel>
</rss>

