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 problem of ordered sequential files access?

699


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17035


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2105


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

717


Write a program to enter and display the names of students in a class using the occurs clause.

652






Are you comfortable in cobol or jcl?

643


How do you differentiate between cobol and cobol-ii?

656


how to move the records from file to array table. give with code example

2219


Which division and paragraphs are mandatory for a COBOL program?

709


) how do u code after getting data?

1580


What are the different rules of SORT operation?

698


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

707


What are different data types in cobol?

689


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1914


What is the utilization of copybook in cobol?

657