01 A
02 B occurs 10 times
03 C pic 999.
03 D occurs 15 times
04 E pic 999.
04 F occurs 20 times
05 G pic XXX.
05 H pic 99.
Determine the total no of byte in A.
A) 175
B) 15480
C) 21750
D) 9065

Answers were Sorted based on User's Feedback



01 A 02 B occurs 10 times 03 C pic 999. 03 D occurs 15 times ..

Answer / sumitra

Ans = ((((5*20)+3)*15)+3)*10 = 15480

Is This Answer Correct ?    6 Yes 0 No

01 A 02 B occurs 10 times 03 C pic 999. 03 D occurs 15 times ..

Answer / shinoy sansilavose

whenever you doing total byte calculation do it from bottom.

2+3=5.......... 5*20=100 ..... 100 + 3= 103.....
103*15=1545....1545+3=1548.... 1548*10=15480

therefore the answer is 15480...... confirmed

Is This Answer Correct ?    2 Yes 0 No

01 A 02 B occurs 10 times 03 C pic 999. 03 D occurs 15 times ..

Answer / k.hari

175

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More IBM MainFrame AllOther Interview Questions

Explain path?

0 Answers  


Tandem COBOL Interview questions (on TACL,SCOBOL,ENSCRIBE,PATHWAY0

0 Answers  


WHAT ARE THE RETRIVAL ORDER OF FILES IN RPG&sql?

1 Answers  


What is meant by an isolation level?

0 Answers  


how do we describe cataloged procedure and an instream procedure?

0 Answers   IBM,






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 is RUNSQLSTM?

1 Answers  


how do we prepare test data using file-aid tool?

0 Answers   Syntel,


How will u give input data to cobol program apart from PARM & Instream data?

6 Answers  


What is the maximum value that can be stored in s9(8) comp?

0 Answers  


How to declare host variables?

0 Answers  


how will you find a particular line in debugging if its a infinite loop

0 Answers  


Categories