Exception Handler does not attach error message

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
DSRajesh
Premium Member
Premium Member
Posts: 297
Joined: Mon Feb 05, 2007 10:37 pm

Exception Handler does not attach error message

Post by DSRajesh »

Dear All,

I have 10 job activities which are having OK Conditional and otherwise trigger conditions.
Otherwise trigger condition link for all job activities linked up to sequencer with Any mode.
I have also connected exception handler to the sequencer and then Email Notification activity.

I am adding the #Exception_Handler.$ErrMessage# in the attachement section of notification activity.

I am able to get the email notification but not able to fetch the error message using #Exception_Handler.$ErrMessage#.

Looking forward for the sugessions for capturing error message from the job which got aborted.
RD
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

The "Attachment" is supposed to be an attached file, not a reference to an error message.
DSRajesh
Premium Member
Premium Member
Posts: 297
Joined: Mon Feb 05, 2007 10:37 pm

Post by DSRajesh »

Arndw

Could you please suggest me an other way to get the error message from the job sequence in email notification.
RD
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

You can add it to the "subject" line of the e-mail.
Post Reply