The exampleHA.cp shows how you can use Embedded SQL/C code with high availability (HA) Failover. The program is similar to example1.cp, with the addition of failover processing. Error handlers are used to detect and handle failover.