Interview Questions

What is the COBOL picture clause for a DB2 column defined

DB2 ( IBM Database 2 ) Interview Questions


(Continued from previous question...)

What is the COBOL picture clause for a DB2 column defined

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

AN:
PIC S((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