ExampleHA: Using cursors for database query with HA-Failover

The exampleHA.cp sample program shows how you can use Embedded SQL/C code 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.