|Hi All, |
I have made a batch file to stop application services and the same is getting failed in autosys.
The job of stop app got failed in autosys but the application services is stop.
Below are the batch script and error log.
Batch scritp :------
net stop "Apache2.2" >D:\autoscp\logs\appdown.lst
net stop "JBOSSEAP" >D:\autoscp\logs\appdown.lst
find "The JBOSSEAP service was stopped successfully." D:\autoscp\logs\appdown.lst
if 1 EQU 0 goto serviceerror else
echo"services are alredy running or not started propery CHECK D:\autoscp\logs\appdown.lst FOR EXACT ERRORS"
Error Log : -------
The device is not ready.
The service is not responding to the control function.
More help is available by typing NET HELPMSG 2186.
The filename, directory name, or volume label syntax is incorrect.
Can anyone tell me how to resolve this issue?
Thanks in advance.