Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • New - allows you to add a new step at the bottom of the steps list
  • Insert - allows you to insert a new step above a selected step

What options are available when defining a new step?

When you define a new step, you have General and Advanced settings which you can specify according to your needs. 

...

  • Step name - type a name that allows you to identify the step.
  • Type - specify the type of step. You can select from: ActiveX Script, Operating system (CmdExec), PowerShell, and others. Go to Types of job steps for  more information .
  • Command - You can type commands to be used in the respective step.

What options are available according to the step type?

According to the step type you choose, SQL Enterprise Job Manager displays different options for that type.

Below you have a description of the information displayed for each step type.

ActiveX Script step type

When you choose an ActiveX Script step type, you can choose which language you want to use for the step:

...

Additionally, you can determine the option Run as to specify the account that will be used to run the step.   

Operating System (CmdExec) step type

When you choose an Operating system step type, you have the following option: Process exit code of a successful command - where you determine the exit code the command returns to indicate success.

Additionally, you can determine the option Run as to specify the account that will be used to run the step. 

Replication step types

There are different Replication Agent step types that you can choose when defining your step. Some of the Replication step types are:

...

Additionally, you can determine the option Run as to specify the account that will be used to run the step.   

Transact-SQL script (T-SQL) step type

When you select this step type, you have to specify the Database where you want this step to be executed. 

...