Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Can we give +2 instead of +1 while creating a new gdg file?

0 Answers  


Total no of bytes in the following 01 rec-1 02 first-group 03 a1 pic x(4). 03 a2 pic 99. 02 second-group redefines first-group. 03 A3 pic999. 03 A4 pic 999. 02 third-group. 03 A5 occurs 5 times pic 99. A)22 B)16 C)12 D)10

3 Answers   Accenture,


What are some uses of the evaluate statement? Explore the syntax of the evaluate statement?

0 Answers  


This was on MQseries. What does MQ queue Manager do? what are the different types of queues? do you know about remote queues etc. How do you delete records from queues? how do you empty queues?

1 Answers  


In a test environment, is there a need to run a runstats?

0 Answers  


IF a file has 10-members how do you process all of them? using CL& USING RPG?

1 Answers  


which of the following is not true about search verb A) every search stmt must contain the AT END clause B) any no of WHEN clause can be used with this verb C) this verb can only applied to a table which is defined with the OCCURS clause and INDEXED phases. D) WHEN condition is satisfied

2 Answers   Accenture,


in options (main) , what is meaning of main . if u not used main what will happen? After compiling, os will not understand where to load and execute from

0 Answers   AppLabs,


When you are working with the project.. once your coding is over what will u do? where u r maintaining your CR(change request) what is the format what are the documents u need to prepare while testing?

0 Answers  


How do you write from PL/1 code to JCL?

0 Answers   IBM,


What is the binary search?

0 Answers  


When the job statement is used?

0 Answers  


Categories