Warnings/Error | Explanation |
sqlwarning | Indicates that the executed SQL database statement produced a warning condition. Sqlwarning becomes true when the SQLCA sqlwarn0 variable is set to W. |
sqlerror | Indicates that an error occurred in the execution of the database statement. Sqlerror becomes true when the SQLCA sqlcode variable contains a negative number. |
Action | Explanation |
continue | Execution continues with the next statement. |
stop | Prints an error message and terminates the program’s execution. Pending updates are not committed. |
goto label | Performs a host language go to. |
call procedure | Calls the specified host language procedure. If call sqlprint is specified, a standard sqlprint procedure is called. This procedure prints the error or warning message and continues with the next statement. A database procedure cannot be specified. |