Interview Questions   Tutorials   Discussions   Programs   

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




326
views
asked mar August 21, 2014 11:04 AM  

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


           

1 Answers



 
answered By Mswami   0  
Below is equivalent:

COBOL host variable data type                                                 SQL data type

S9(i)V9(d) COMP-3 or S9(i)V9(d) PACKED-DECIMAL          DECIMAL(i+d,d) or NUMERIC(i+d,d)
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert