SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

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

kond.mohan
Posting Yak Master

India
196 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.

visakh16
Very Important crosS Applying yaK Herder

India
52325 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
http://visakhm.blogspot.com/

Go to Top of Page
  Previous Topic Topic Next Topic  
 New 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.11 seconds. Powered By: Snitz Forums 2000