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
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
What the difference is between continue and next sentence?
how do you reference the fixed unblock file formats from cobol programs
Which is not true about evaluate statement
State the various causes of s0c1, s0c5 and s0c7.
How many sections are there in data division in COBOL?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
Write a cobol program making use of the redefine clause.
What is a report item?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
How are the next sentence and continue different from each other?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Write a program to enter and display the names of students in a class using the occurs clause.
What are different data types in cobol?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?