dbTalk Databases Forums  

DTS getting to next task before finishing the first

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTS getting to next task before finishing the first in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Nitin
 
Posts: n/a

Default DTS getting to next task before finishing the first - 06-18-2008 , 09:46 AM






I have a DTS Package where there are 4 tasks all connected to each other with
OnSuccess flow , the first task is collecting all the files from FTP
and dumping in a STAGING area and then those files from STAGING area are
taken and processed with the next 3 remaining tasks.
Individually all the task is working fine, but when I run the entire package
the first task where it is taking the files from FTP location is taking time
but
it is declared success and goes to the next step, although the FTP process
is still running and has not finished dumping the files to staging area,
so on the next step it is not getting the files from the concerned location
as the FTP is not finished. Please let me know how to make sure that once
this FTP part
is over then only it shuld go to the next step

Reply With Quote
  #2  
Old   
Chris
 
Posts: n/a

Default RE: DTS getting to next task before finishing the first - 06-18-2008 , 10:24 AM






What precedent constraints do you have between the steps. If no contraints
exist then there is potential that both steps will run at the same time.

-Chris


"Nitin" wrote:

Quote:
I have a DTS Package where there are 4 tasks all connected to each other with
OnSuccess flow , the first task is collecting all the files from FTP
and dumping in a STAGING area and then those files from STAGING area are
taken and processed with the next 3 remaining tasks.
Individually all the task is working fine, but when I run the entire package
the first task where it is taking the files from FTP location is taking time
but
it is declared success and goes to the next step, although the FTP process
is still running and has not finished dumping the files to staging area,
so on the next step it is not getting the files from the concerned location
as the FTP is not finished. Please let me know how to make sure that once
this FTP part
is over then only it shuld go to the next step

Reply With Quote
  #3  
Old   
Chris
 
Posts: n/a

Default RE: DTS getting to next task before finishing the first - 06-18-2008 , 10:24 AM



What precedent constraints do you have between the steps. If no contraints
exist then there is potential that both steps will run at the same time.

-Chris


"Nitin" wrote:

Quote:
I have a DTS Package where there are 4 tasks all connected to each other with
OnSuccess flow , the first task is collecting all the files from FTP
and dumping in a STAGING area and then those files from STAGING area are
taken and processed with the next 3 remaining tasks.
Individually all the task is working fine, but when I run the entire package
the first task where it is taking the files from FTP location is taking time
but
it is declared success and goes to the next step, although the FTP process
is still running and has not finished dumping the files to staging area,
so on the next step it is not getting the files from the concerned location
as the FTP is not finished. Please let me know how to make sure that once
this FTP part
is over then only it shuld go to the next step

Reply With Quote
  #4  
Old   
Chris
 
Posts: n/a

Default RE: DTS getting to next task before finishing the first - 06-18-2008 , 10:24 AM



What precedent constraints do you have between the steps. If no contraints
exist then there is potential that both steps will run at the same time.

-Chris


"Nitin" wrote:

Quote:
I have a DTS Package where there are 4 tasks all connected to each other with
OnSuccess flow , the first task is collecting all the files from FTP
and dumping in a STAGING area and then those files from STAGING area are
taken and processed with the next 3 remaining tasks.
Individually all the task is working fine, but when I run the entire package
the first task where it is taking the files from FTP location is taking time
but
it is declared success and goes to the next step, although the FTP process
is still running and has not finished dumping the files to staging area,
so on the next step it is not getting the files from the concerned location
as the FTP is not finished. Please let me know how to make sure that once
this FTP part
is over then only it shuld go to the next step

Reply With Quote
  #5  
Old   
Chris
 
Posts: n/a

Default RE: DTS getting to next task before finishing the first - 06-18-2008 , 10:24 AM



What precedent constraints do you have between the steps. If no contraints
exist then there is potential that both steps will run at the same time.

-Chris


"Nitin" wrote:

Quote:
I have a DTS Package where there are 4 tasks all connected to each other with
OnSuccess flow , the first task is collecting all the files from FTP
and dumping in a STAGING area and then those files from STAGING area are
taken and processed with the next 3 remaining tasks.
Individually all the task is working fine, but when I run the entire package
the first task where it is taking the files from FTP location is taking time
but
it is declared success and goes to the next step, although the FTP process
is still running and has not finished dumping the files to staging area,
so on the next step it is not getting the files from the concerned location
as the FTP is not finished. Please let me know how to make sure that once
this FTP part
is over then only it shuld go to the next step

Reply With Quote
  #6  
Old   
Chris
 
Posts: n/a

Default RE: DTS getting to next task before finishing the first - 06-18-2008 , 10:24 AM



What precedent constraints do you have between the steps. If no contraints
exist then there is potential that both steps will run at the same time.

-Chris


"Nitin" wrote:

Quote:
I have a DTS Package where there are 4 tasks all connected to each other with
OnSuccess flow , the first task is collecting all the files from FTP
and dumping in a STAGING area and then those files from STAGING area are
taken and processed with the next 3 remaining tasks.
Individually all the task is working fine, but when I run the entire package
the first task where it is taking the files from FTP location is taking time
but
it is declared success and goes to the next step, although the FTP process
is still running and has not finished dumping the files to staging area,
so on the next step it is not getting the files from the concerned location
as the FTP is not finished. Please let me know how to make sure that once
this FTP part
is over then only it shuld go to the next step

Reply With Quote
  #7  
Old   
Chris
 
Posts: n/a

Default RE: DTS getting to next task before finishing the first - 06-18-2008 , 10:24 AM



What precedent constraints do you have between the steps. If no contraints
exist then there is potential that both steps will run at the same time.

-Chris


"Nitin" wrote:

Quote:
I have a DTS Package where there are 4 tasks all connected to each other with
OnSuccess flow , the first task is collecting all the files from FTP
and dumping in a STAGING area and then those files from STAGING area are
taken and processed with the next 3 remaining tasks.
Individually all the task is working fine, but when I run the entire package
the first task where it is taking the files from FTP location is taking time
but
it is declared success and goes to the next step, although the FTP process
is still running and has not finished dumping the files to staging area,
so on the next step it is not getting the files from the concerned location
as the FTP is not finished. Please let me know how to make sure that once
this FTP part
is over then only it shuld go to the next step

Reply With Quote
  #8  
Old   
Chris
 
Posts: n/a

Default RE: DTS getting to next task before finishing the first - 06-18-2008 , 10:24 AM



What precedent constraints do you have between the steps. If no contraints
exist then there is potential that both steps will run at the same time.

-Chris


"Nitin" wrote:

Quote:
I have a DTS Package where there are 4 tasks all connected to each other with
OnSuccess flow , the first task is collecting all the files from FTP
and dumping in a STAGING area and then those files from STAGING area are
taken and processed with the next 3 remaining tasks.
Individually all the task is working fine, but when I run the entire package
the first task where it is taking the files from FTP location is taking time
but
it is declared success and goes to the next step, although the FTP process
is still running and has not finished dumping the files to staging area,
so on the next step it is not getting the files from the concerned location
as the FTP is not finished. Please let me know how to make sure that once
this FTP part
is over then only it shuld go to the next step

Reply With Quote
  #9  
Old   
Chris
 
Posts: n/a

Default RE: DTS getting to next task before finishing the first - 06-18-2008 , 10:24 AM



What precedent constraints do you have between the steps. If no contraints
exist then there is potential that both steps will run at the same time.

-Chris


"Nitin" wrote:

Quote:
I have a DTS Package where there are 4 tasks all connected to each other with
OnSuccess flow , the first task is collecting all the files from FTP
and dumping in a STAGING area and then those files from STAGING area are
taken and processed with the next 3 remaining tasks.
Individually all the task is working fine, but when I run the entire package
the first task where it is taking the files from FTP location is taking time
but
it is declared success and goes to the next step, although the FTP process
is still running and has not finished dumping the files to staging area,
so on the next step it is not getting the files from the concerned location
as the FTP is not finished. Please let me know how to make sure that once
this FTP part
is over then only it shuld go to the next step

Reply With Quote
  #10  
Old   
Nitin
 
Posts: n/a

Default RE: DTS getting to next task before finishing the first - 06-18-2008 , 10:35 AM



I have ONSUCCESS precedence on all the tasks...logically the second one shud
execute only when the first is success..but bcus the first tsk is having the
FTP commands and there are some number of them, so before finishing those FTP
commands it declares the ActiveX successful and jumps to the next step..where
as on the command prompt it still shows the FTp doing its work.

"Chris" wrote:

Quote:
What precedent constraints do you have between the steps. If no contraints
exist then there is potential that both steps will run at the same time.

-Chris


"Nitin" wrote:

I have a DTS Package where there are 4 tasks all connected to each other with
OnSuccess flow , the first task is collecting all the files from FTP
and dumping in a STAGING area and then those files from STAGING area are
taken and processed with the next 3 remaining tasks.
Individually all the task is working fine, but when I run the entire package
the first task where it is taking the files from FTP location is taking time
but
it is declared success and goes to the next step, although the FTP process
is still running and has not finished dumping the files to staging area,
so on the next step it is not getting the files from the concerned location
as the FTP is not finished. Please let me know how to make sure that once
this FTP part
is over then only it shuld go to the next step

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.