I have a readonly DB2 database and its standby on another box. My CLI
applications normally work with the primary DB. If there are
communication errors or instance corruption, the applications should
switch to the standby DB. My question is what sqlcodes the application
should check for failover to the standby DB? SQLCODE -30081 is for
general communication problems. There are many other sqlcodes, which
may requre the applications to switch the standby DB. What are they?
Any suggestions? Thanks, Shane