I was incorrectly calling it before as the input to my ISQL command, however...
When I run the command by itself the batch file "spins its wheels" without actually starting the DTS package.
The batch window shows the command repeating itself indefinitely.
I copied the exact DTSRUN command from the SQL Job step and pasted it into my batch file. It is giving me errors as if it doesn't like the syntax.
Is this because of a path problem? I tried running it in the C:\Program Files\Microsoft SQL Server\MSSQL\Binn but got the same results.
Here is...
How can I keep a batch file active for the duration of a SQL DTS job?
The job runs for variable lengths of time but usually around 45 min. to an hour.
When I execute this batch job, it immediately returns a 0 for a return code and the DOS window closes.
I have other time sensitive jobs...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.