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 / guest

Folloiwng will be space allocation:
A - 4
B - 7
C - 8
D - 3
E - 2

Total 24 bytes.

Is This Answer Correct ?    2 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1934


What the difference is between continue and next sentence?

665


how to refer the data field?

1813


) how do u code after getting data?

1584


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6843






State the various causes of s0c1, s0c5 and s0c7.

665


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

683


Can we redefine the field of x(200) to less than 200?

827


What is report-item in COBOL?

713


Explain what you understand by passing by value.

706


Why occurs cannot be used in 01 level in COBOL?

722


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1000


Write down the divisions of cobol program?

673


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

712


Write a program to explain size error.

679