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 / thrivikram
it goes into infinite loop.
when w-num =9 , it will become 0
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What are the different types of condition in cobol and write their forms.
Why occurs cannot be used in 01 level in COBOL?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
What is the local-storage section?
Have you used comp and comp-3 in your project? And how?
What is the compute verb? How is it used?
What is amode(24)?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
What kind of error is trapped by on size error option?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
Name the divisions, which are available in a cobol program?
How arrays can be defined in COBOL?
What do you understand by psb and acb?