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
What rules are followed by the search verb.
Give some examples of command terminators?
what is the difference between COBOL2 AND COBOL390?
What is the difference between structured cobol programming and object alternativelyiented cobol?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
Which division and paragraphs are mandatory for a COBOL program?
How many sections are there in data division in COBOL?
Write a program to enter and display the names of students in a class using the occurs clause.
What is an in line perform? When would you use it? Anything else you wish to say about it.
Write a program that uses move corresponding.
What is cobol?
how do you reference the variable unblock file formats from cobol programs
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
What is the difference between comp and comp-3 usage?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)