Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SSIS 2008 For Loop Container to loop until execute process task in container is Successful Expand / Collapse
Author
Message
Posted Wednesday, November 7, 2012 6:14 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, July 25, 2014 9:41 PM
Points: 6, Visits: 245
Greetings All,

I have an SSIS package that generates a text file, then uploads the text file to a SFTP site for processing using WinSCP. The packages needs to be able to download the file from the SFTP site after processing has been completed. The file processing can take 10 minutes or up to 10 hours.

I configured a for loop container with an execute process task to download the file. I would like to set up for loop to continue looping until the execute process task in the container is successful.

I have tried various way to accomplish this and none of them produced the results I need.

My process needs to do the same thing as described in the question in this post.

http://go4answers.webhost4life.com/Example/loop-execute-process-until-successful-77548.aspx

I tried all the solutions on that page and none of them worked.

Any assistance with this would be greatly appreciated.

Thanks for looking.


Edit: I am also open to other ways within SSIS to accomplish this -e.g. script task. I am not able to install any custom components in SSIS. I know there are several out there that may do what I need.
Post #1382227
Posted Thursday, November 8, 2012 2:40 AM


SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Today @ 1:08 AM
Points: 4,160, Visits: 5,557
Is the process executed by means of a SQL Agent job?
if so, have you considered letting the SSIS fail, but set the job step to retry x times every y minutes?


____________________________________________
Space, the final frontier? not any more...
All limits henceforth are self-imposed.
“libera tute vulgaris ex”
Post #1382347
Posted Thursday, November 8, 2012 8:55 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, July 25, 2014 9:41 PM
Points: 6, Visits: 245
This package is not run via the SQL Server agent job and I have other parts of the package processing while this piece is running.

Thanks for the advice.
Post #1382544
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse