How many times the loop runs here
01 a pic 9(2) value 10.
perform para1 a times
stop run.
para1:
move 20 to a.

Answers were Sorted based on User's Feedback



How many times the loop runs here 01 a pic 9(2) value 10. perform para1 a times stop run. para1:..

Answer / suresh

it performs 10 times only it donot change while looping

Is This Answer Correct ?    14 Yes 3 No

How many times the loop runs here 01 a pic 9(2) value 10. perform para1 a times stop run. para1:..

Answer / shiva

initally a=10
perfrm para1 a(10) times
move 20 to a...so now a=20

now again perform para1 a(20)times
and loop goes on
hence infinite loop

Is This Answer Correct ?    3 Yes 5 No

How many times the loop runs here 01 a pic 9(2) value 10. perform para1 a times stop run. para1:..

Answer / guest

infinite loop

Is This Answer Correct ?    5 Yes 12 No

Post New Answer

More COBOL Interview Questions

can i give 9(10) in comp 3 instead of s9(10) ? if i can give wht would be ths ans

2 Answers   DELL,


how would you resolve sb37 and SE37?

2 Answers   Hewitt,


How do you compile cobol program..?

1 Answers  


How to read records from flat file in reverse order through COBOL program?

14 Answers   Accenture, Broadridge, IBM, MAT, Polaris, SPIC, Syntel, TCS, Wipro,


what is record label is empty or standard in file description of data division?

2 Answers   HCL,






How many bytes S(8) comp field occupy and its maximum value?

0 Answers  


How can you add a particular field in copybook?

2 Answers   L&T,


What are differences between Static Call and Dynamic Call?

10 Answers   IBM, KBC, Keane India Ltd, Verizon,


In an EVALUATE statement, can I give a complex condition on a when clause?

2 Answers  


Write the syntax of a two dimensional array?

8 Answers   Honeywell, Xansa,


What rules are followed by the search verb.

0 Answers  


consider the following two IF statements: IF X AND NOT Y MOVE A TO B IF Z=1 OR 9 MOVE A TO B select one of the following data divusion entries which gives identical results for both the above IF statements a.01 Z PIC 9 88 X VALUE 1.9 88 Y VALUE 0.2 THRU 8 b.01 Z PIC 9 88 X VALUE 0.2 THRU 8 Y VALUE 1.9 c.01 Z PIC 9 88 X VALUE 1.9 88 NOT-Y VALUE 0.2 THRU 1.9 d.none of yhe above

3 Answers   TCS,


Categories