Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

How to run multiple operating system commands in single step of a job in sql server agent

$
0
0

HI,

I have created a job with 4 steps.

In my 3rd step I have multiple operating system commands to be fired.

these commands are like this.

dtexec package1

dtexec package2

.

.

When I execute the job, the 3rd step's first command gets executed and remaining commands remains untouched.

if make changes like this.

dtexec package1 & dtexec package2

then it shows error as

Option "&" is not valid. Process Exit Code 6. The step failed.

pls help.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>