Hi all,
I am running batch file (main.bat) from which I call 2 other batch files. Both files have to login to the servers (different servers).
First file runs fine, but next one fails to login. I've tried to run second file by itself and it runs just fine. I am not sure if is .bat file "issue".
Anyone aware of such behavior?
main.bat
----------------
call batch_1.bat
call batch_2.bat
batch_1.bat
-------------------
echo Database backup
rman target user/pwd @<path_to_file_to_run> log <path_to_log_file>
batch_2.bat
--------------------
echo CommVault backup
qlogin -cs "server_name" -u "user" -p "pwd"
<some commands here......>
Thanks,
Eugene