<?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 Custom Transformation Challenge in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Custom-Transformation-Challenge/m-p/195830#M4207</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying to create a custom transformation having the using the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro soverign ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc means data=&amp;amp;_input median stddev ; &lt;/P&gt;&lt;P&gt;by id Legal_Entity_L1 Legal_Entity_L2 Instrument_Type Country; &lt;/P&gt;&lt;P&gt;var Exposure; &lt;/P&gt;&lt;P&gt;output OUT= &amp;amp;_output&amp;nbsp; median = Median stddev=Stddev; &lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%soverign;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While testing, the transformation runs without an error, however when we try to see the worktable, it throws an error, saying that the metadata of the columns are not registered,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea what am I missing here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ronnie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Mar 2015 07:42:07 GMT</pubDate>
    <dc:creator>Ronny_Dsouza</dc:creator>
    <dc:date>2015-03-06T07:42:07Z</dc:date>
    <item>
      <title>Custom Transformation Challenge</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Custom-Transformation-Challenge/m-p/195830#M4207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying to create a custom transformation having the using the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro soverign ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc means data=&amp;amp;_input median stddev ; &lt;/P&gt;&lt;P&gt;by id Legal_Entity_L1 Legal_Entity_L2 Instrument_Type Country; &lt;/P&gt;&lt;P&gt;var Exposure; &lt;/P&gt;&lt;P&gt;output OUT= &amp;amp;_output&amp;nbsp; median = Median stddev=Stddev; &lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%soverign;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While testing, the transformation runs without an error, however when we try to see the worktable, it throws an error, saying that the metadata of the columns are not registered,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea what am I missing here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ronnie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 07:42:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Custom-Transformation-Challenge/m-p/195830#M4207</guid>
      <dc:creator>Ronny_Dsouza</dc:creator>
      <dc:date>2015-03-06T07:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Transformation Challenge</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Custom-Transformation-Challenge/m-p/195831#M4208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first clue is the message "&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;columns are not registered". What are the column definitions of the work table? It should/must match the physical table structure created by the custom code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;Then it's a bit odd that you have hard coded variable names in the proc, that takes away a bit of the usefulness of a generated transformation.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 10:04:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Custom-Transformation-Challenge/m-p/195831#M4208</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-03-06T10:04:55Z</dc:date>
    </item>
  </channel>
</rss>

