Generating abends (Failures) from Datastage canvas in DS 390

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
sankarsadasivan
Premium Member
Premium Member
Posts: 39
Joined: Tue Dec 23, 2003 3:47 am
Location: India

Generating abends (Failures) from Datastage canvas in DS 390

Post by sankarsadasivan »

Is there a way where we can generate an abend or a sysout from DS 390 jobs?

I would like to check a condition in my transformer , and if it doesnt want
to satisfy, I want my job to fail with an error message.

Is this possible in datastage canvas?

Please suggest
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Short of modifying the JCL template, I don't believe so.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Mike
Premium Member
Premium Member
Posts: 1021
Joined: Sun Mar 03, 2002 6:01 pm
Location: Tampa, FL

Post by Mike »

See if the Business Rule Stage utilizing the DISPLAY and EXIT statements can satisfy your need. I think they might do the trick.

Mike
sankarsadasivan
Premium Member
Premium Member
Posts: 39
Joined: Tue Dec 23, 2003 3:47 am
Location: India

Post by sankarsadasivan »

Thanks Mike/Ray.

Lookup stage - has a facility to abort job for unmatching rows.
I am using it to check my conditions and abend if necessary.

But yes sysout doesnt seem to be possible.

Thanks,
Sankar
Post Reply