we have serverjob where we use an ODBC to connect to Sql Server and the job is designed in such a way that it runs a store procedure. we run this job using a perl script .Based on the previous status of the job it will wither Reset and Run the Job or Directly Runs the Job. The Issue with our job is the Store Procedure is Beeing Executed Twice when Ever the Previous Status Of the Job is in aborted status. And I had found that it is beeing executed During the Reset Run and Normal Run
Can Any one Let me know Why the Store Procedure is beeing Executed During the RESET
OK, that all looks fine. So, your ODBC Action is set to "Call stored procedure"? If that actually runs the proc during a reset, I'd report that as a bug to your official support provider.
-craig
"You can never have too many knives" -- Logan Nine Fingers
Reset/validate of DS Job will invoke the Call Statement . inoder to see that the Store pRoc is Not executed you need to pass a variable so that Store Proc Knows whether u are Resting or Running a Normal Run