fuzzyocelot
Programmer
I have a bit of a mystery on my hands that I hope someone can help me with. I'm a newbie database administrator so please go easy on me.
A routine job failed this morning. The job runs a package once a week.
Here is what the package does:
1) Connects to an ftp server and downloads a file into a directory via an execute process task. Let’s call the directory "directory A".
2) Then it truncates some tables via an execute SQL task.
3) Next it reads the file from directory A using text file source.
4) A transform data task is used next to read that file into a table.
5) If successful, a certain stored procedure is executed via an execute SQL task. Nothing is set to happen if it fails.
6) Then another table is read into a separate file. A transform data task is set between the database connection and the text file destination. It just copies a table into a file.
7) Upon completion, an email is sent out to certain people.
Here’s the mystery. Hopefully I can explain it with little confusion. Within the first transform data task that reads the file that was downloaded, the source file is set to directory B instead of A. This directory B does not exist on the server. Directory B is not referenced anywhere in the entire package! Only directory A is used. According to the logs, this package was last changed on 10/17/2005. Yep! 2005! According to the job activity logs, this package has successfully run in the past. It runs once a week with no errors and it ran last week just fine! How can this package run successfully with the wrong directory set as the source for the data transform task? The only thing I can think of is that the directory B used to exist on the server but someone deleted it recently. If that’s true, then either someone has been manually putting the file there every week or the package has been using the wrong file all this time! What also confuses me is that the directory B does not exist on my computer. Yet when I open the transform data task using the client tools on my computer and do a preview on the file, it shows me data for the file. I hope I haven’t confused anyone. Does this make any sense to anyone? Does anyone have any ideas as to what’s going on here or how I can find out?
Thanks!