How many bytes will be allocated for the following record
description
entries?
01 REC-A.
05 A PIC S9(4).
05 B PIC XXXBXXX.
05 C PIC ____9.99.
05 D PIC S9(5) COMP-3.
05 E PIC 9(3) COMP.
Answer Posted / ezhil_18
@ above
COMP3 data require always requrie n+1/2 bytes. here 5+1/2
takes only 3 bytes not 4 bytes.
| Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
Write a cobol program making use of the redefine clause.
Differentiate between structured cobol programming and object-oriented cobol programming.
How to know whether the module is dynamical or statistical?
How to remove 2 duplicate records and copy only one using job control language?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
What is the LINKAGE SECTION used in COBOL?
Have you used comp and comp-3 in your project? And how?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
How you can characterize tables in cobol?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
what is amode(24), amode(31), rmode(24) and rmode(any)?
Discuss about changing dataset name in proc.
how do you reference the rrds file formats from cobol programs
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What guidelines should be followed to write a structured cobol prgm?