Page 1 of 1

Fail job during ExecTCL failures.

Posted: Mon Jun 23, 2008 9:23 am
by sspreethi
Hi,

We are executing SQL procedures using Before-Job subroutine - ExecTCL.(This approach was suggested by IBM as our procedures did'nt run as expected from before/after sql in Dynamic RDBMS stage. We have created VOC entry & are using Exec TCL)

If Exec TCL fails, it gives an error in log but doesnt abort the job.
**********************************************************
[DataDirect][ODBC SQL Server Driver][SQL Server]EXECUTE permission denied on object 'usp_GetLastBusinessDate', database 'PowerAgentCommon', owner 'dbo'.
**********************************************************

We would like our jobs to abort in such scenarios. Is this possible?

Thanks,
Preethi.

Posted: Mon Jun 23, 2008 10:37 am
by DSguru2B
Try setting the warning limit to 1.

Posted: Tue Sep 02, 2008 11:49 am
by snt_ds
Hi DSGuru, I faced similar issue today. There are 0 warnings in this job. The event type of below message is 'Info'. In such scenarios, I would want the job to abort. Is there a way to achieve this.