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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / ch.mohan

9(13)v9(2)

Is This Answer Correct ?    12 Yes 8 No

Post New Answer

More COBOL Interview Questions

what is MSGLEVEL?

1 Answers   IBM,


What is the difference between NEXT SENTENCE and CONTINUE?

2 Answers   Mphasis,


I hv ten records in ps file and i hv say some 15 records in vsam file .i hv empno and age in ps file n empno,empname,dept n desig in vsam file. i hv 2 read the ps file n check wid matching empno in vsam file and then insert all fields from ps and vsam into db2 table....plz help in writin the procedure division

1 Answers  


can we use 77 level no for Redefines?if we use give an example?

3 Answers   Mphasis,


What is the purpose of Identification Division?

1 Answers  


What is Comm?

2 Answers   IBM, Kemper Corporation,


Have you used comp and comp-3 in your project? And how?

1 Answers   IBM,


what is amode(24), amode(31), rmode(24) and rmode(any)?

1 Answers  


If i initialize the 01 level variable in array, will it initialize all the array elements (occurs)?

8 Answers   CTS,


wht r the advantages of 77 level number ?

8 Answers   TCS,


Describe the difference between subscripting and indexing ?

2 Answers  


how to remove leading spaces and zeroes in a cobol variable.is there any easy way to do it

2 Answers  


Categories