Page 1 of 1

Generating abends (Failures) from Datastage canvas in DS 390

Posted: Fri Apr 13, 2007 11:37 am
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

Posted: Fri Apr 13, 2007 4:02 pm
by ray.wurlod
Short of modifying the JCL template, I don't believe so.

Posted: Tue Apr 17, 2007 8:34 pm
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

Posted: Thu Apr 19, 2007 12:51 pm
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