Defining the items that your program can use to check whether an SQL statement executed successfully
If your program contains SQL statements, the program should include an SQL communications area (SQLIMSCA), which contains SQLIMSCODE, SQLIMSSTATE, and SQLIMSERRMT variables, so that it can check whether the statements executed successfully.