ExampleHA: Using cursors for database query with HA-Failover

The exampleHA.cp sample program shows how Embedded SQL/C code can be used with High Availability (HA) Failover capability. The program is similar to example1.cp, with the addition of failover processing. Error handlers are used to detect and handle failover.