Problem with FTP dataset

pts.
Tags:
Tech support
I am running a job with multiple steps. The first step is an FTP step and it is creating a dataset for the second step. But when the job executes, it is abending as the second step is not finding the dataset as it is not getting created in step 1 for some reason. but when I run the first step by itself, the dataset is available. Can anybody help out?

Answer Wiki

Thanks. We'll let you know when a new response is added.

you have many steps that are dependant upon the previous step being completed. therefore you have to signal somehow that the previous step is completed. just because the ftp process is started it doesn’t mean that you can go to step 2 immediately.

i.e. start/wait ftp
job2: if not exist file.sql goto job2
start/wait sqljob

in otherwords you must wait until the database is created and no matter how fast you might be in doing it manually the computer is always faster so you have to add a delay between step 1 and step 2 or have step 2 test to make sure that its dependancies have been satisfied before it executes.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following