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
How to define a directory?
Can you define an alias?
What is linkage section?
Which is the difference between delimited by size and delimited by space?
What is a configuration management system, give examples?
Define the necessity of run stats among the environment test?
What is the facility that allows mainframes to be partitioned into lapars?
What is comp-1?
What is next sentence and continue unique?
Explain delete-connected tables?
How is next sentence and continue different?
what is the right time for using in-line perform?
State the maximum value up to which volumes can be inserted to an stogroup?
Define clustered index?
hi.... anybody send real time project related questions & answers whatever will ask in interview plz.....help me? advanced thanks....