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 / raj
05 A PIC S9(4) -> 4
05 B PIC XXXBXXX -> 7
05 C PIC ____9.99 -> 4
05 D PIC S9(5) COMP-3 -> 4
05 E PIC 9(3) COMP -> 2
SO TOTAL OF 21 BYTES
Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
how to move the records from file to array table. give with code example
i want a program using by if, evaluate , string, unstring, perform, occurs?
What are the different rules to perform a Search?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What are all the divisions of a COBOL program?
How you can characterize tables in cobol?
What are 77 levels used for?
how do you reference the esds vsam file formats from cobol programs
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
Name some of the examples of COBOl 11?
Why would you use find and get rather than to obtain?
Difference between cobol and cobol-ii?
What are the pertinent COBOL commands?
What are the pertinent COBOL
) How do u handle errors in BMS macro