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
Answers were Sorted based on User's Feedback
Answer / 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 |
If a gdg contains 20 versions .. how to copy those versions ps?
What is the maximum value that can be stored in s9(8) comp?
Express the distinction between jes2 and jes3?
What is distributed relational database architecture? And components?
What will happen if both steplib and joblib are specified?
Mainframe project required Postby mache123 » Thu Jan 29, 2009 9:10 pm hello..... I want to know about some real time projects.If any one have any Mainframes project, please provide me documentation of it Or else give me the link where can I find that Mainframes projects with Documentation...... or suggest me any if......please
how do we prepare test data using file-aid tool?
What is the function of the verb initialize?
Is the order of the when clause important in an evaluate statement? Is the order of the when clause significant in an evaluate statement?
what does the keyword SFLRCDNBR?
What is the distinction amongst include and copy?
Explain Introduction abt Ibm framework