Hello there, I've written Base & Macro code to obtain from Metadata a list of LASR instances I'd like to start in anticipation of an outage this weekend. Whilst I don't doubt this will work, I do like to throw caution to the wind and program for all eventualities - such as the Macro failing half-way through, needing a restart, and then failing again because it tries to start a server that's already started. So, a very high level view of the code is this: - Obtain Metadata list of servers. - Define variables like Port, Tag, LogDir - ????? - Start Server - Check Server status ????? is the missing piece - this is where I'd like to check the server is active prior to trying to start it up. Is there a decent way of doing this, one that either tells me the server is alive, or, one that handles an ERROR: properly and doesn't kill the SAS code (sort of like On Error Goto Next in VBA). i'd like to do this in SAS code to remove any issues that may come with the permissions and governance of the Unix file system. Thanks in anticipation, Dan
... View more