Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 RE: SQL Server Job Issue
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

213 Posts

Posted - 10/17/2012 :  10:22:21  Show Profile  Reply with Quote
I have Created Sql server job having 4 steps.
step 1 is Front End application disble mode
step 2 is ssis package
step 3 is ssis package
step 4 is enable Front end Appication

my Requirement is before Executing step 4 i need to Check the Status of step1,step2,step3 .if any one of the step is Failed ,
my 4step Shold not Execute.other wise my 4 step should Execute.

how to use Staus of previous step in jobs

if any body knows the logic pls Explain me.

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 10/17/2012 :  23:34:13  Show Profile  Reply with Quote
not possible to implement custom step sequence through standard sql agent job. we implement this by means of control table where we log status from each of job steps to it and can be used to check and execute required step

SQL Server MVP

Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000