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
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 |
Explain path?
Tandem COBOL Interview questions (on TACL,SCOBOL,ENSCRIBE,PATHWAY0
WHAT ARE THE RETRIVAL ORDER OF FILES IN RPG&sql?
What is meant by an isolation level?
how do we describe cataloged procedure and an instream procedure?
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
what is RUNSQLSTM?
how do we prepare test data using file-aid tool?
How will u give input data to cobol program apart from PARM & Instream data?
What is the maximum value that can be stored in s9(8) comp?
How to declare host variables?
how will you find a particular line in debugging if its a infinite loop