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 to move the records from file to array table. give with code example

2219


i want a program using by if, evaluate , string, unstring, perform, occurs?

4061


What are the different rules to perform a Search?

618


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

720


What are all the divisions of a COBOL program?

665






How you can characterize tables in cobol?

718


What are 77 levels used for?

659


how do you reference the esds vsam file formats from cobol programs

634


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

720


Name some of the examples of COBOl 11?

2686


Why would you use find and get rather than to obtain?

688


Difference between cobol and cobol-ii?

705


What are the pertinent COBOL commands?

2626


What are the pertinent COBOL

2045


) How do u handle errors in BMS macro

1510