Use Stored Procedure to call db2 sp

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
dongyingying
Participant
Posts: 35
Joined: Tue Feb 07, 2012 2:28 am
Location: China BeiJing

Use Stored Procedure to call db2 sp

Post by dongyingying »

Hi All , when I create a parallel job use stored procedure stage to call a db2 sp ,when the sp failed caused by some exceptions or error ,but the job executed is ok ,this should been happend ,is that right ? how can I changed the job to make sure the job failed ?

Thanks I am Ethan msg from china.
Dong Ying Ying Come on.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Re: Use Stored Procedure to call db2 sp

Post by ArndW »

dongyingying wrote:......when the sp failed caused by some exceptions or error...
Please post those messages, otherwise anyone responding would just have to guess what them might be.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

There is probably a property you can set in the stage called something like "treat warnings as fatal". This would force the job to abort.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply