db2 variable decimal(15,2) what is the equalent size of
cobol variable

Answer Posted / quasar chunawala

The correct COBOL Field that can hold the Value of DECIMAL
(15,2) SQL Field should be declared as

05 WS-COBOL-DECIMAL-FIELD PIC S9(13)V9(02) COMP-3.

Is This Answer Correct ?    29 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

6074


what is the use of outrecord?

1960


What is inspect in cobol ?

989


Can a Search can be done on a table with or without Index?

1035


what is the difference between COBOL2 AND COBOL390?

2703


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

833


how to refer the data field?

1982


What are literals?

834


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1200


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

957


Write a program that uses move corresponding.

860


What are the different open modes available in cobol?

925


What are the pertinent COBOL commands?

2816


Why would you use find and get rather than to obtain?

889


What is static and dynamic call in cobol?

778