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 -> 3
05 E PIC 9(3) COMP -> 2

SO TOTAL OF 20 BYTES

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is rmode(any) ?

686


What is rmode(24)

678


how to refer the data field?

1808


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1903


Which mode is used to operate the sequential file?

664






What is the default value(s) for an initialize and what keyword allows for an override of the default?

694


Whats the difference between search & search ALL?

5264


What is inspect in cobol ?

801


Name the divisions, which are available in a cobol program?

685


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

1931


how to move the records from file to array table. give with code example

2219


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2057


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

710


What is the difference between PIC 9.99 and PIC9v99?

781


How do u write test cases?

1634