Consider the following:

77 W-NUM PIC 9 VALUE 0
------
MOVE 1 TO W-NUM
PERFORM PARA-X UNTIL W-NUM > 9.
------
PARA-X
ADD 1 TO W-NUM

How many times PARA-X is executed ?

Answer Posted / hemanth reddy

Sorry i thought that it is < 9 .
If it is less than 9 it is correct.
If it is > 9 then it goes to infinite loop

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

State the various causes of s0c1, s0c5 and s0c7.

665


Explain about different table spaces.

650


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5695


What is the difference between PIC 9.99 and 9v99 in COBOL?

735


How do get the result of your program directly on your pc?

1885






What are literals?

632


What type of SDLC u followed? Why?

1520


Name the divisions, which are available in a cobol program?

685


How you can characterize tables in cobol?

720


What is comp-1 and comp-2?

765


) what is the difference between AID and HANDLE AID?

1637


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

999


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3720


Write a program that uses move corresponding.

673


Can you please let me know the centre name of INS certification in Kolkata.

1717