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

Answers were Sorted based on User's Feedback



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

Answer / pradeep

it is s9(m-n)v9(n) comp-3 in this case m=11, n=2
ie s9(9)v9(2) comp-3

Is This Answer Correct ?    30 Yes 4 No

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

Answer / ranjana

its s9(9)v99.

Is This Answer Correct ?    24 Yes 7 No

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

Answer / guest

its s9(9)v99.

Is This Answer Correct ?    11 Yes 8 No

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

Answer / srinivasa gudla

PIC S9(9)V99 COMP-3.

In DECIMAl(11,2), 11 indicates the size of data type and 2
indicates the precision.

Is This Answer Correct ?    1 Yes 0 No

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

Answer / sudhanshu

S(9)V9(2) USAGE COMP-3

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More DB2 Interview Questions

what is the use of bind parameter, Replace?

5 Answers   IBM,


What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?

0 Answers   MCN Solutions,


What is dclgen in db2?

0 Answers  


What is consistency token in db2?

0 Answers  


in my project..TEST is db2 8.1 version In PROD it is 7.1 if i do REORG in TEST.. can I use the same REORG jcl with out modification in PROD region (this is DB2 8.1 )? if not, what modification i need to do in my REORG control card?

0 Answers  






What is the max length of sqlca?

0 Answers  


If a table has a column "dept" (declared to have nulls) and there are 10 rows in the table of which 3 have a null value in the dept column, what will select count(*) and select count(distinct dept) return?

6 Answers  


If the base table underlying a view is restructured, eg. attributes are added, does the application code accessing the view need to be redone?

2 Answers  


What is the difference between plan and package in db2?

0 Answers  


I HAVE 2 TABLES ONE IS EMP_TABLE AND ANOTHER DEPT_TABLE.EMP_TABLE CONTAINS NAME,DEPTNO,DEPTNAME,LOCATION AND DEPT_TABLE CONTAINS DEPTNO,DOJ(DATE OF JOINING).I WANT TO DISPLAY NAME,DEPTNAME,DOJ AND WHO ARE JOINED BETWEN 01- JAN-2007 TO 01-JAN-2008?

6 Answers   Perot Systems,


When is the authorization check on DB2 objects done - at BIND time or run time?

1 Answers  


What is the database descriptor?

2 Answers  


Categories