Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

How to get (in a parameter/variable) the number of rows rejected by a Flat File Format?

$
0
0

Hello everyone,

 

I would like to take the number of rows rejected by a Flat File Format from a parameter/variable.

 

For example, when I see the trace that my job generates, I can see the following line:

 

2217622320TRAN20/01/2016 17:51:48Transform <Fich_Ent_v3_F1__AL_ReadFileMT_Merge> is completed with <4> rows loaded and <2> rows rejected.

 

But I don't know from where I can take that number "2" of rows rejected.

 

I've tried to get it using the Data Flow Auditing functionality. So I enable the auditing in my Data Flow and use over the Flat File Format the Count Audit Function and the labels $Count_* and $CountError_*. Unfortunately, $CountError_* gives me zero ("0") and not "2" (I have the error handling enabled). I realized afterwards that the Count Audit Function is mean to be for "Table or output schema" objects, so I guess is not valid for Flat File Formats, right?


In conclusion, is there any option to get the number of rows rejected by a Flat File Format in a Data Flow, for example, in a environment variable? Or if not, there is a way to get the trace line that contains it? Or can any SAP BODS scripting function get one thing or the other?


Thanks and best regards


Viewing all articles
Browse latest Browse all 3719

Trending Articles



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