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



Determine the total no of bytes in the following 01 rec1 . 02 a pic x(6). 02 b redefines..

Answer / hemanth

Ans: 6 + 4(5+3) = 38
option a.

Is This Answer Correct ?    7 Yes 1 No

Determine the total no of bytes in the following 01 rec1 . 02 a pic x(6). 02 b redefines..

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

Determine the total no of bytes in the following 01 rec1 . 02 a pic x(6). 02 b redefines..

Answer / santu

Ans = b

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More IBM MainFrame AllOther Interview Questions

how to find a   "source of particular program"?

1 Answers  


hi provide info about any real time requirement in health care services mainframe applications bye ramya

2 Answers   ACS,


10. Why mainframe testing is so important? Give any three advantages of Mainframe Testing?

0 Answers  


what is use of linkage section?

0 Answers   IBM,


I would like to know some real time questions.. please any one help me.. If the changes made by you .. lead to system inconsistency how others will know its cause???

0 Answers  






Categorize the mainframe manual testing?

0 Answers  


How many minimum number of line codes does PL/1 DB2 program requires?

0 Answers   IBM, TelePerformance,


How to define a directory?

0 Answers  


When we create a physical dataset we specify dcb parameter block size.What is the use of Blocking?

4 Answers  


What are the different types of table spaces?

0 Answers  


File1 has 100 records and file2 has 200 records I want to copy 50 records which are in both file into file3?

0 Answers  


Name the various types of tables spaces.

0 Answers  


Categories