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

Transaction Control with record level error handling

$
0
0

Hi All

 

Requirements:

1) Client wants to upload a small set of data that should not exceed 200 records per job run. (rough estimate)

2) Upload is going into multiple tables on the same data store.

3) Upload needs to fail the entire data set if any one record fails.

4) Client wants as much detail on their error handling as possible. IE record level error handling if a particular record is the issue. Whether it is table locks preventing the upload or whether it is incompatible data.

     4.1) Incompatible data should be caught at the validations step of the job, so really it should only be table locks and the like.

5) This upload is going into an AS400 system.

 

With all of these requirements, I have identified Transaction Control as the possible solution for requirements 2 and 3. I worry about how much granularity I would have though, on any errors coming out.

 

I have not used transaction control before, and need help with understanding its limitations as far as error handling and reporting are concerned. Considering that it tries to commit everything at once. Would I be able to identify that record X failed due to table lock on table YYYY, for instance?

 

Thanks in advance for your time.

 

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>