
    /* Start Betty */
    do {

      if (Begin(ctTRNLOG|ctENABLE) == 0) {
        printf("Error beginning transaction: %d\n", uerr_cod);
      }

      oops = AddName ("Betty", "Rubble");
      oops |= AddPhone ("213-555-5555", "Home");
      oops |= AddAddress ("Box 432", "1244 Jurassic Park", "Bedrock", "PL", "12345", "Home");

      if (oops) {
        Abort ();               /* Stop the transaction */
        cycles++;

        if (cycles > 5) {
          printf ("Transaction Failed after 6 tries!");
          StopUser ();          /* Close out the connection */
          ctrt_exit(4);
        }
      }
    } while (oops);

    if (Commit(ctFREE)) {
      printf("Error committing transaction: %d.\n", uerr_cod);
    }

    printf ("LatestIndex is %ld\n", LatestIndex);
    /* End Betty */
