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
What type of SDLC u followed? Why?
explain sorting techniques in cobol program?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
Write the code to count the sum of n natural numbers.
what happens if parmparameter passes zero bytes to the program
In which area will you utilize 88 level items in cobol?
Write some characteristics of cobol as means of business language.
How many bytes S(8) comp field occupy and its maximum value?
What is report-item in COBOL?
In COBOL, what is the different between index and subscript?
How do you define a variable of comp-1 and comp-2?
Explain about different table spaces.
Are you comfortable in cobol or jcl?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?