To use embedded SQL statements you must include SQLCA in working-storage section using the INCLUDE statement:
WORKING-STORAGE SECTION.EXEC SQL INCLUDE SQLCA END-EXEC
01 SQLCA.
SQLSTATE status codes consist of a 2-character class code immediately followed by a 3-character subclass code. Aside from class code 00 ("successful completion",) the class code denotes a category of exceptions. And, aside from subclass code 000 ("not applicable",) the subclass code denotes a specific exception within that category. The meaning of codes is database dependent.
| Copyright (c) 2017 Veryant |
| Contact us |
|
Please share your comments on this manual or on any Veryant product documentation with the email button at the top left |