At run-time, conditions may occur that produce warnings, but not errors. How can you easily look for these warnings?

At run-time, conditions may occur that produce warnings, but not errors. How can you easily look for these warnings?

A. Check STATUS for >0.

B. Check SQLCA.SQLAWARN for specific warning numbers.

C. Check SQLCODE, if set to >0, examine contents of each SQLCA.SQLAWARN component.

D. Check SQLCA.SQLAWARN[1], if set to "W", examine contents of each SQLCA.SQLAWARN component.

Answer: D

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments