<?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: Transformation Error Code in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Transformation-Error-Code/m-p/79814#M694</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following paper might contain what you need:&lt;/P&gt;&lt;P&gt;&lt;A href="http://analytics.ncsu.edu/sesug/2007/AD10.pdf" title="http://analytics.ncsu.edu/sesug/2007/AD10.pdf"&gt;http://analytics.ncsu.edu/sesug/2007/AD10.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jul 2012 18:25:52 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2012-07-31T18:25:52Z</dc:date>
    <item>
      <title>Transformation Error Code</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Transformation-Error-Code/m-p/79813#M693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As per our requirement we need to capture the each transformation error and we need to log it to the Error Table.&lt;/P&gt;&lt;P&gt;Please guide me how to get the Transformation error Code from the SAS DI tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using SAS DI 4.21 version tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kandasamy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 18:16:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Transformation-Error-Code/m-p/79813#M693</guid>
      <dc:creator>kandasamy</dc:creator>
      <dc:date>2012-07-31T18:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Transformation Error Code</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Transformation-Error-Code/m-p/79814#M694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following paper might contain what you need:&lt;/P&gt;&lt;P&gt;&lt;A href="http://analytics.ncsu.edu/sesug/2007/AD10.pdf" title="http://analytics.ncsu.edu/sesug/2007/AD10.pdf"&gt;http://analytics.ncsu.edu/sesug/2007/AD10.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 18:25:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Transformation-Error-Code/m-p/79814#M694</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-07-31T18:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Transformation Error Code</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Transformation-Error-Code/m-p/79815#M695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kandasamy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try using following ...&lt;/P&gt;&lt;P&gt;1)Status handling&lt;/P&gt;&lt;P&gt;2)As status handling tab is not present in some of the transformation,you can use Return code check transformation for capturing error code.&lt;/P&gt;&lt;P&gt;3)You can also write user written code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 09:13:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Transformation-Error-Code/m-p/79815#M695</guid>
      <dc:creator>shivas</dc:creator>
      <dc:date>2012-08-01T09:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Transformation Error Code</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Transformation-Error-Code/m-p/79816#M696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure that you understand the requirement correctly! SAS DI studio let's you create a job flow as SAS Metadata. Based on this metadata SAS code gets generated. What will be executed is SAS code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If SAS code throws an error (eg. there is a syntax error in a expression defined in a transformation) then it's kind-of too late to try and capture this error and write it to an error table (as this capturing code would come after the error occured). A syntax error is a syntax error - how code behaves after that is unpredictable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can do is define conditions (eg: lookup table does not exist) and actions (eg. logging the condition in an error table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the question! I didn't realize what the Return Code Check transformation is used for. Was good to have a read in the docu.&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/etlug/60948/HTML/default/viewer.htm#p0ygtz7di8z8kpn1ufncd1ajt1pj.htm"&gt;http://support.sas.com/documentation/cdl/en/etlug/60948/HTML/default/viewer.htm#p0ygtz7di8z8kpn1ufncd1ajt1pj.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/etlug/60948/HTML/default/viewer.htm#n13t3zm3lp6u7dn15a8k13mak3gh.htm" title="http://support.sas.com/documentation/cdl/en/etlug/60948/HTML/default/viewer.htm#n13t3zm3lp6u7dn15a8k13mak3gh.htm"&gt;http://support.sas.com/documentation/cdl/en/etlug/60948/HTML/default/viewer.htm#n13t3zm3lp6u7dn15a8k13mak3gh.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The paper Art posted: That could be a way to capture rejected rows when loading into a SAS dataset with integrity constraints turned on (using audit trails: &lt;A class="jive-link-external-small" href="http://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a001224397.htm"&gt;http://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a001224397.htm&lt;/A&gt;) I personally feel that when this level of control is needed then it's possibly time to think about loading data into a data base like Teradata or Oracle.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 12:11:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Transformation-Error-Code/m-p/79816#M696</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2012-08-01T12:11:02Z</dc:date>
    </item>
  </channel>
</rss>

