<?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 Proc Transpose missing columns in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-missing-columns/m-p/565120#M158601</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Iam running the code in which using proc transpose procure.but here the step gets failed .Error is "No columns are available "&lt;/P&gt;&lt;P&gt;Actually error is clear that there are no columns in that dataset which is being transposed.&lt;/P&gt;&lt;P&gt;but these columns are getting created using the data coming from the&amp;nbsp; dataset .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually i have dataset having columns called "Name" which has data values "JOHN" "JAMES" "PETER" "PAUL" "RUTH" "DAVID"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so after this step running proc transpose statemnet where we are using above columns values (john,james..) are converting to columns.&lt;/P&gt;&lt;P&gt;problem here is there is no name values ("JOHN" "JAMES" "PETER" "PAUL" "RUTH" "DAVID") in test environmnet and present in live environmnet,so iam running this code in test enviornmet and getting error under porc_tranpose step saying "no columns present"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you please help how can we optimise the code in such a way that it will handle this scenario please&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jun 2019 06:41:45 GMT</pubDate>
    <dc:creator>JJP1</dc:creator>
    <dc:date>2019-06-11T06:41:45Z</dc:date>
    <item>
      <title>Proc Transpose missing columns</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-missing-columns/m-p/565120#M158601</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Iam running the code in which using proc transpose procure.but here the step gets failed .Error is "No columns are available "&lt;/P&gt;&lt;P&gt;Actually error is clear that there are no columns in that dataset which is being transposed.&lt;/P&gt;&lt;P&gt;but these columns are getting created using the data coming from the&amp;nbsp; dataset .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually i have dataset having columns called "Name" which has data values "JOHN" "JAMES" "PETER" "PAUL" "RUTH" "DAVID"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so after this step running proc transpose statemnet where we are using above columns values (john,james..) are converting to columns.&lt;/P&gt;&lt;P&gt;problem here is there is no name values ("JOHN" "JAMES" "PETER" "PAUL" "RUTH" "DAVID") in test environmnet and present in live environmnet,so iam running this code in test enviornmet and getting error under porc_tranpose step saying "no columns present"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you please help how can we optimise the code in such a way that it will handle this scenario please&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 06:41:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-missing-columns/m-p/565120#M158601</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2019-06-11T06:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Transpose missing columns</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-missing-columns/m-p/565169#M158639</link>
      <description>&lt;P&gt;Please provide before/after data, as well as the code you tried.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 10:25:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-missing-columns/m-p/565169#M158639</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-06-11T10:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Transpose missing columns</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-missing-columns/m-p/565188#M158648</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kindly find below core where we are getting error like john is not present,james is not present.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc transpose data=namedetails out=trans_name(drop=_name_ _label_);&lt;BR /&gt;by id;&lt;BR /&gt;var count;&lt;BR /&gt;id name;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 11:45:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-missing-columns/m-p/565188#M158648</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2019-06-11T11:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Transpose missing columns</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-missing-columns/m-p/565189#M158649</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kindly find below sample code where we are getting error like john is not present,james is not present.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc transpose data=namedetails out=trans_name(drop=_name_ _label_);
by id;
var count;
id name;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Jun 2019 11:45:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-missing-columns/m-p/565189#M158649</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2019-06-11T11:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Transpose missing columns</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-missing-columns/m-p/565292#M158693</link>
      <description>&lt;P&gt;Proc Transpose is very data sensitive. Provide example input data that causes the error messages.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 15:29:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-missing-columns/m-p/565292#M158693</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-06-11T15:29:47Z</dc:date>
    </item>
  </channel>
</rss>

