|
Dear all, I have a problem when creating SQL job in cdmexec job. My job as following: 1. Create job. 2. Choose step as cmdexec, this stepp to call .bat file. code of bat file:
The problem I met that the job status was success, but the message in the ECHO commands not show (the command line window not dispaly). How can I show the msg of ECHo command? Please help me!
(comments are locked)
|
|
When you run a job inside SQL Server Agent I don't think you'll ever see the window. In the Advanced Properties of the step you can set an output file for the step. That should hold the results of the ECHO command.
(comments are locked)
|

