How to define the a field which accepts value till 99999.99
in db2

Answers were Sorted based on User's Feedback



How to define the a field which accepts value till 99999.99 in db2..

Answer / kk

in db2 decimal(7,2) & application cobol pgm 9(5)v99.

Is This Answer Correct ?    33 Yes 1 No

How to define the a field which accepts value till 99999.99 in db2..

Answer / ram prajapati

in db2 decimal(7,2) & application cobol pgm 9(5).99
because 9(5)v99 will print 9999999 and not 99999.99.
9(5).99 is an edited pic variable so it will show the
desired output while the previous one will not.

Is This Answer Correct ?    2 Yes 0 No

How to define the a field which accepts value till 99999.99 in db2..

Answer / keshireddy

PIC S9(5)V99

Is This Answer Correct ?    2 Yes 19 No

Post New Answer

More DB2 Interview Questions

What is copy pending status in db2?

0 Answers  


Mention the downsides of page level lock.

0 Answers  


Which component is responsible for processing sql statements and selecting access paths?

0 Answers  


What is a view? Why use it?

3 Answers  


Cursors can be declared in both working-storage & procedure division, agreed. But is there any difference? If could you please suggest what is the difference

0 Answers  


Explain the benefits you can get from mainframe connect?

0 Answers  


What does sqlcabc has?

0 Answers  


What does the sqlcode of -818 pertain to?

3 Answers  


What do you need to do before you do EXPLAIN?

1 Answers  


My SQL is not performing well. Describe how will you fine tune it?

1 Answers   Accenture,


How to rename a table in DB2 ?

0 Answers   MCN Solutions,


What is a Cartesian product?

2 Answers  


Categories