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
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
what is the use of outrecord?
Explain how you can characterize tables in cobol?
Write the code to count the sum of n natural numbers.
How are the next sentence and continue different from each other?
Write a cobol program making use of the redefine clause.
How you can characterize tables in cobol?
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?
How do you reference the following file formats from cobol programs?
What is the problem of ordered sequential files access?
What is the difference between perform … with test after and perform … with test before?
For rewrite, why is it mandatory that file needs to be opened?
What is difference between static and dynamic call in cobol?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
How can you get the ksds file records into your cobol program?