<?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 How to get Event Listener node in DM Studio process job to work? in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-get-Event-Listener-node-in-DM-Studio-process-job-to-work/m-p/214966#M5167</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to capture any run-time errors (as events) that may occur, like the password failing, or a database connection timeout. How do I get the Event Listener node to capture these so I can report them? I'm using DataFlux Data Management Studio 2.6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using the Event Listener node in a process job that references two data jobs. The Event Listener node is configured for All events. It outputs to an Expression node where I write any captured information to a log file. As a test of this, I cleared the db credentials for the driver that I’m using, and when I run the job within DM Studio, the DM Studio logging (in-application logging) is reporting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;“__ERRORMSG = [3:DEST_ODBC:Data Target (Insert) - LINK_OD_DF.DF_BRIDGE_ANIMAL_ASSUR_NUMS_T] [HY000] [DataFlux][ODBC Oracle Wire Protocol driver]Insufficient information to connect to the data source. (0)”&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So an event is definitely thrown. But my Event Listen node is not capturing this, or any, error. The node is placed within the process job, where it theoretically will catch errors/events raised from the referenced data jobs. It is not connected to any other node in the job, other than the Expression node, if this matters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how I can capture all run-time errors from a process job?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;-&amp;nbsp; mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Apr 2015 14:40:28 GMT</pubDate>
    <dc:creator>mal</dc:creator>
    <dc:date>2015-04-02T14:40:28Z</dc:date>
    <item>
      <title>How to get Event Listener node in DM Studio process job to work?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-get-Event-Listener-node-in-DM-Studio-process-job-to-work/m-p/214966#M5167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to capture any run-time errors (as events) that may occur, like the password failing, or a database connection timeout. How do I get the Event Listener node to capture these so I can report them? I'm using DataFlux Data Management Studio 2.6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using the Event Listener node in a process job that references two data jobs. The Event Listener node is configured for All events. It outputs to an Expression node where I write any captured information to a log file. As a test of this, I cleared the db credentials for the driver that I’m using, and when I run the job within DM Studio, the DM Studio logging (in-application logging) is reporting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;“__ERRORMSG = [3:DEST_ODBC:Data Target (Insert) - LINK_OD_DF.DF_BRIDGE_ANIMAL_ASSUR_NUMS_T] [HY000] [DataFlux][ODBC Oracle Wire Protocol driver]Insufficient information to connect to the data source. (0)”&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So an event is definitely thrown. But my Event Listen node is not capturing this, or any, error. The node is placed within the process job, where it theoretically will catch errors/events raised from the referenced data jobs. It is not connected to any other node in the job, other than the Expression node, if this matters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how I can capture all run-time errors from a process job?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;-&amp;nbsp; mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 14:40:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-get-Event-Listener-node-in-DM-Studio-process-job-to-work/m-p/214966#M5167</guid>
      <dc:creator>mal</dc:creator>
      <dc:date>2015-04-02T14:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Event Listener node in DM Studio process job to work?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-get-Event-Listener-node-in-DM-Studio-process-job-to-work/m-p/214967#M5168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to go into settings on the node that you expect to throw the error (in this case the process-level node that houses the data flow) and set the Node Errors behavior to “Only abort the flow that had the error”. This will give the event handler node a chance to process. By default, an error causes the whole job to abort, and so the event handler will not get a chance to run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mike F.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 19:46:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-get-Event-Listener-node-in-DM-Studio-process-job-to-work/m-p/214967#M5168</guid>
      <dc:creator>MikeFrost</dc:creator>
      <dc:date>2015-04-03T19:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Event Listener node in DM Studio process job to work?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-get-Event-Listener-node-in-DM-Studio-process-job-to-work/m-p/214968#M5169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks! This is very helpful. after recording the error, if I want to abort the entire job, how do I configure that? I don't want the job to continue to the next data job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks again!&lt;/P&gt;&lt;P&gt;- Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 21:29:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-get-Event-Listener-node-in-DM-Studio-process-job-to-work/m-p/214968#M5169</guid>
      <dc:creator>mal</dc:creator>
      <dc:date>2015-04-03T21:29:14Z</dc:date>
    </item>
  </channel>
</rss>

