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


Please Help Members By Posting Answers For Below Questions

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

718


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

748


What is amode(24)?

686


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1620


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

699






What is the default value(s) for an initialize? What keyword will allow for an override of the default?

665


What is the difference between structured cobol programming and object alternativelyiented cobol?

763


In COBOL programming, what is PERFORM? What is VARYING?

676


What are the different data types in cobol?

801


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

689


Which Search verb is equivalent to PERFORM…VARYING?

694


Write down the divisions of cobol program?

675


How to remove 2 duplicate records and copy only one using job control language?

760


How to know whether the module is dynamical or statistical?

666


What is inspect in cobol ?

808