Quantcast
Channel: SCN : Discussion List - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 4237

Problems with error handling in Data Services Designer

$
0
0

Hello everybody!

 

I'm trying to load some data from CSV files to BW with Data Services. In case of existing errors, I need to handle them, so I'm using a try/catch block to do that. The processshown in the image below:

process.jpg

 

When the the number of columns of the CSV is different to the number of columns defined in Data Services Designer, an error should occur, and therefore, the catch block should be executed, but It isn't.

As you can see in the image below, error capture is activated for the source flat file :

capture.jpg

The job name is JOB_TR_AFILNUCREA_DETTOT, and checking the execution in the Data Services Management Console, the status appears in red, and in addition, In the error tab is shown the message:

(12.2) 09-03-12 17:21:47 (E) (2864:0780) FIL-080104: |Data flow ZFD_AFIL_NUEVA_CREAC|Reader CSV_TOTAL_DETALLE1

A column delimiter was seen after column number <5> for row number <1> in file <//Dessrvsap01/sapdesarrollo/DW1/Afiliacion/TOTAL_DETALLE_MBP.csv>. The total number of columns defined is <5>, so a row delimiter should be seen after column number <5>. Please check the file for bad data, or redefine the input schema for the file by editing the file format in the UI.

 

On the other hand, in the Trace Tab everything seems to be OK, and it is shown the message: Job <JOB_TR_AFILNUCREA_DETTOT> is completed successfully.

 

In resume, the process doesn't seem to catch the error and doesn't execute the catch block, when obviously there is an error, so I don't know how to control this type of error.

 

Thanks in advance,

Manolo Burgos.


Viewing all articles
Browse latest Browse all 4237

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>