Interview Questions

What is the COBOL picture clause for a DB2 column defined as DECIMAL(11,2)?

DB2 INTERVIEW QUESTIONS


(Continued from previous question...)

What is the COBOL picture clause for a DB2 column defined as DECIMAL(11,2)?

PIC S9(9)V99 COMP-3.
Note: In DECIMAL(11,2), 11 indicates the size of the data type and 2 indicates the precision.

(Continued on next question...)

Other Interview Questions