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 do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What is amode(24)?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What is the difference between structured cobol programming and object alternativelyiented cobol?
In COBOL programming, what is PERFORM? What is VARYING?
What are the different data types in cobol?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
Which Search verb is equivalent to PERFORM…VARYING?
Write down the divisions of cobol program?
How to remove 2 duplicate records and copy only one using job control language?
How to know whether the module is dynamical or statistical?
What is inspect in cobol ?