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
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
What the difference is between continue and next sentence?
how to refer the data field?
) how do u code after getting data?
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?
State the various causes of s0c1, s0c5 and s0c7.
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
Can we redefine the field of x(200) to less than 200?
What is report-item in COBOL?
Explain what you understand by passing by value.
Why occurs cannot be used in 01 level in COBOL?
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
Write down the divisions of cobol program?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
Write a program to explain size error.