Job does not abort

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
Rohit_ben
Participant
Posts: 19
Joined: Sat Sep 22, 2007 4:55 am

Job does not abort

Post by Rohit_ben »

We have a simple job that takes data from Oracle Enterprise stage and populates an SQL server table using ODBC enterprise stage.

Oracle Enterprise -> Transformer -> ODBC Enterprise

We have defined constraints on some of the fields in the SQL Server table. But even if the constraints are not met, the job runs successfully by rejecting the records (if we apply a reject link) or silently dropping them. We want the job to get aborted or at least throw a warning with the SQLCODE, if these constraints are not met.

Any ideas regarding this? Do we have to make any changes in the ODBC Configuration?

We are using DtaaDirect v6.0 drivers.
Rohit_ben
Participant
Posts: 19
Joined: Sat Sep 22, 2007 4:55 am

Post by Rohit_ben »

When I use a DRS stage(configured to ODBC) instead of ODBC EE stage, the DataStage throws the exact error message. This means that the driver is retreiving the errors from SQL server.

Should I use a DRS stage instead of ODBC stage? What should be the decision based on?
Post Reply