Exam4Training

If a LET statement is executed, but the assignment doesn’t work at run-time, which variable is set to indicate an error? (Ex: A CHAR string containing an invalid date is assigned to a date variable.)

If a LET statement is executed, but the assignment doesn’t work at run-time, which variable is set to indicate an error? (Ex: A CHAR string containing an invalid date is assigned to a date variable.)

A. STATUS

B. SQLCA.SQLCODE

C. SQLCA.LETCODE

D. SQLCA.SQLAWARN[1]

Answer: A

Exit mobile version