Determine the total no of bytes in the following
01 rec1 .
02 a pic x(6).
02 b redefines a.
03 c occurs 6 times pic 9.
02 d occurs 4 times.
03 e pic x(5).
03 f pic 999.
a)38.
b)44
c)14
d)32
Answer Posted / shinoy sansilavose
38 is the correct answer.
whenever you doing total byte calculation do it from bottom.
Here 3+5 =8 and it occurs 4 times ... 8*4 = 32
the var b redifines a therefore no need to consider the
bytes of b and its sub level variables.
add 32 with the byte of var a you will get 32+6=38.........
confirmed.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Is it possible to move the alphanumeric variables to a numeric variable?
What do you mean by linkage section?
Explain path?
What is the worst thing that you’ve seen on a day?
Is the order of the when clause important in an evaluate statement? Is the order of the when clause significant in an evaluate statement?
suppose if you added a coloumn to db2 table, How would it be the Impact analysis?
If anyone has latest IBM Certification Dumps can you pls forwards it to me
what is the meaning of a (new, catlg, keep) disposition mean?
How is next sentence and continue different?
How long have you been working on mainframes?
What is the function of iebgener?
what is unit testing ? on which basis you will write test case ?
can any body give me any website for getting help on mainframe projectts in banking domain.
how do we describe static call and dynamic call?
How many bytes does a s9(7) comp-3 field occupy ?