The sql_signal routine signals to your program condition handler an error that occurs on the execution of an SQL statement. If your program does not contain a condition handler, the sql_ routine prints an error message and exits the program when an error occurs. If the host language compiler does not provide a signaling mechanism, you must provide your own condition handler.