SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Issue in using Execute Process Task in a ForEach Loop container for unzipping multiple files.


Issue in using Execute Process Task in a ForEach Loop container for unzipping multiple files.

Author
Message
Sachin Vaidya
Sachin Vaidya
SSC Veteran
SSC Veteran (257 reputation)SSC Veteran (257 reputation)SSC Veteran (257 reputation)SSC Veteran (257 reputation)SSC Veteran (257 reputation)SSC Veteran (257 reputation)SSC Veteran (257 reputation)SSC Veteran (257 reputation)

Group: General Forum Members
Points: 257 Visits: 238
Hi,

I am using SSIS 2005. I have multiple source files which are zipped. I have to unzip those source files for which I am using a SSIS Execute Process Task inside a ForEach Loop container.

I am setting the Executable and Arguments properties like this;

1. Executable - M:\Sourcefiles\gzip.exe (also setting this through an expression using a variable)
2. Arguments - -d M:\CDR_Files\MockData\SourceFile\MyFile.NOR.gz (also setting this
through an expression using a variable)

The problem is, it works only for one file and then package stops. It does not iterate through all source files to unzip them all :-(

I tried to disable this Execute Process Task and keep enabled the other tasks inside the ForEach loop container to check whether my ForEach loop is configured correctly. It works properly by scanning through multiple files. But it is not working only in case when I am doing the unzipping.

Any inputs will be very helpful.

Regards.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search