Is there a way to check if DB2 is up in a remote DB2 server? Can "EXEC SQL CONNECT TO" be used? If yes, what SQL Code it will return when the DB2 connection is down? Or is there another and right way of checking it? Any pointers would be greatly appreciated!