can we declare s9(9)v9(9) in cobol ? if yes how many bytes
it will occupy ?(urgent plz answer it)

Answer Posted / y@$w@nth

s9(9)v9(9)

Here v stands for assumed decimal point so it will occupy
only 18 bytes(9+9)...if instead of s9(9)v9(9) it is coded as
s9(9).9(9) then it is going to occupy 19 bytes ((9+9)+1)
the extra 1 byte for decimal point .........There is no way
of occupying 20 bytes storage.

Is This Answer Correct ?    47 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between COBOL2 AND COBOL390?

2453


Explain how you can characterize tables in cobol?

638


What is redefines clause in COBOL?

851


i need a small 3d program using inline and outline.

1640


What is the difference between external and global variables in COBOL?

814






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

690


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1523


What are the different rules to perform a Search?

619


How do we get current date from system with century in COBOL?

806


Discuss about changing dataset name in proc.

762


What is perform what is varying?

709


What are different data types in cobol?

690


What are the different rules for performing sort operation?

763


Whats the difference between search & search ALL?

5264


how do you define single dimensional array and multidimensional array in your cobol?

677