Each time a SQL statement is executed, it returns a code to communicate whether or not the statement executed successfully. Therefore, define an area to receive these codes.
When precompiling applications in:
Do not mix program status communication areas between Teradata and ANSI compatible modes.