Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Getting error information from parent to child

$
0
0

Hi could somebody please advise how I can acheive this:

I have a parent package that consists of the several sequence containers. The sequence containers contain tasks that download files from ftp directories, each sequence container downloads files from a different ftp directory. The next step in the sequence container to execus package task.  Each container executes the same package. This is the child package

Inside the child package is some logic to validate the downloaded files and email specific peole if there is a validation/formatting error in the files. The email contains error information such as the line of on which the error occured and the type of error eg 'field 1 not found'.

what I want to do is to include the name of the sequence container in the email that the child package generate when a validation error occurs, so if the error occured in the while the child package was being executed by sequence container No1 I want to pass the name/id of the sequence container to a variable as pass it to script task in the child package.

So say I have a string called SCName, how can I give that string the value of the name sequence container that is currently active when the error occurs?

Thanks is advance


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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