0 pts.
 FTP
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?

Software/Hardware used:
ASKED: July 11, 2005  9:49 AM
UPDATED: July 12, 2005  5:27 AM

Answer Wiki:
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.
Last Wiki Answer Submitted:  July 12, 2005  5:27 am  by  Ve3ofa   80 pts.
All Answer Wiki Contributors:  Ve3ofa   80 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _