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 bind package and plan in db2?

0 Answers  


How to retrieve rows from a db2 table in embedded sql?

0 Answers  


i tried to copy some records from microsoft excel to as-400 physical file through "Bosanova" emulation. Out of 14000 records only 12000 records copies and subsequently programe started to hang. Then, i closed the program forcefully. I did' under stand the problem. Also when i try to compile the physical file it is showing as "The file in use". How to overcome this problem?

0 Answers   TATA,


What is sqlcode -811?

7 Answers   Accenture, CTS, TCS,


How can you quickly find out the number of rows updated after an update statement?

1 Answers   CSI, CTS,






could you give me an example how, where i code CHECKPOINT and restart...I need and example....thanks..

5 Answers  


what's the error code for Unique Index Violation?

2 Answers  


How do you insert a record with a nullable column?

2 Answers  


What is the difference between spufi and qmf?

0 Answers  


What error I will get if my select query gives multiple row while executing a Cobol-DB2 program.How can I solve it without using a cursor.

4 Answers   Cap Gemini, Verizon,


How to resolve -818 sql code in DB2?

2 Answers   Cap Gemini,


How to find schema of a table in db2?

0 Answers  


Categories