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
Answer / suresh
it performs 10 times only it donot change while looping
Is This Answer Correct ? | 14 Yes | 3 No |
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 |
can i give 9(10) in comp 3 instead of s9(10) ? if i can give wht would be ths ans
how would you resolve sb37 and SE37?
How do you compile cobol program..?
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?
How many bytes S(8) comp field occupy and its maximum value?
How can you add a particular field in copybook?
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?
Write the syntax of a two dimensional array?
What rules are followed by the search verb.
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