what is the size of W-REC in the following
01 W-REC
05 A PIC 9(4)V99
05 B READLINES A
10 C PIC XX
10 D PIC S9(4)
05 E OCCURS 7 PIC ZZ.ZZ
05 F OCCURS 5
10 G PIC ZZ.ZZZ99
10 H OCCURS 3
15 J PIC 9(3)
15 K PIC V99
Answer Posted / vel
Let us come from bottom
K=2
J=3
so H = 3 * 5 =15
G = 8
SO F = 5 * ( 8 + 15) =115
E = 7 * 5 = 35
A=B= 6
SO TOTAL SIZE =156
| Is This Answer Correct ? | 17 Yes | 1 No |
Post New Answer View All Answers
Have you used comp and comp-3 in your project? And how?
What is amode(24)?
Name the divisions, which are available in a cobol program?
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?
In which area will you utilize 88 level items in cobol?
What is the difference between structured cobol programming and object alternativelyiented cobol?
How to remove 2 duplicate records and copy only one using job control language?
Explain what you understand by passing by value.
Difference between cobol and cobol-ii?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
Explain how you can characterize tables in cobol?
What is the difference between comp and comp-3?
what happens if parmparameter passes zero bytes to the program
Write a program to explain size error.
How do you reference the following file formats from cobol programs?