Fatal Error for Stored Proc stage
Posted: Tue Nov 25, 2014 9:54 am
Hi,
I have a parallel job in V 8.7. The design has a row generator, generating 1 dummy row followed by Stored Procedure stage.
The DB is MSSQL Server
Procedure type - Transform
No parameters are being passed to SP and no values are returned from the SP.
However even when the SP fails, the Datastage job is finishing successfully. The SP uses RAISERROR and returning @Errmsg.
I want the job to fail when SP fails.
Any insight would be helpful.
Thanks.
I have a parallel job in V 8.7. The design has a row generator, generating 1 dummy row followed by Stored Procedure stage.
The DB is MSSQL Server
Procedure type - Transform
No parameters are being passed to SP and no values are returned from the SP.
However even when the SP fails, the Datastage job is finishing successfully. The SP uses RAISERROR and returning @Errmsg.
I want the job to fail when SP fails.
Any insight would be helpful.
Thanks.