Hi friends, I have a big problem with sqlplus on windows 2000.
I'm trying to monitor how many users are connected in each database server of my network, but some servers are not always up.

I'm using sqlplus in windows 2k for generate this report, but when I try to connect to a not-running server it sends me an error (ORA-12560 TNS: protocol adapter error) and the .bat who calls cannot continue. Obviously this error is produced because the server is not running, but I need that my .bat continue executing the next instruction to obtain the rest of the information.

I need to automate this .bat via the schedule task in order to run this script every 10 min and to know statistic information about my users.

How can avoid that sqlplus stops and continue with the rest of my .bat ?
This is my code:

-- .bat file --
sqlplus system/manager@server1 @extractinfo.sql param1
sqlplus system/manager@server2 @extractinfo.sql param2
sqlplus system/manager@server3 @extractinfo.sql param3
sqlplus system/manager@server4 @extractinfo.sql param4

Thanks in advance, any help will be very useful.