Exam4Training

When would you want to use both STATUS and SQLCA.SQLCODE?

When would you want to use both STATUS and SQLCA.SQLCODE?

A. When using the C-compiled version of 4GL.

B. Never. Programs should use either method exclusively.

C. For portability because certain 4GL ports support STATUS and others require SQLCA.SQLCODE.

D. The program needs to execute 4GL application statements prior to checking the return status of the most recently executed SQL statements.

Answer: D

Exit mobile version