Mail Alert

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
kancherla_vijay
Participant
Posts: 3
Joined: Tue Aug 12, 2008 2:01 am
Location: Hyderabad

Mail Alert

Post by kancherla_vijay »

Hi,

We are having a requirement in datastage parallel job, like a File will creted with 4 columns out of which one column is amount column. If the amount exceeds the value 100000 we need send an Email to the client.
Please let me know the approcah to solve this requirement.

Thnaks
Vijay
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Here's one approach of many. Call your PX job from a sequence, in the sequence have a transformer which has a constraint on an output link to only output when the value exceeds your limit and write this to a sequential file. Then, in the calling sequence check to see if the file has a length longer than 0 and if so add it as attachment to a mail.
Post Reply