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 / guest
it will go in a infinite loop. But simply because
when W-NUM is 9, after "ADD 1 TO W-NUM", W_NUM would again
become 0.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the different rules of SORT operation?
What is the usage of comp fields in cobol?
) what is the difference between AID and HANDLE AID?
What are 77 levels used for?
What is cobol?
Which division and paragraphs are mandatory for a COBOL program?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
how do you reference the esds vsam file formats from cobol programs
What is Pic 9v99 Indicates in COBOL?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
Name the sections present in data division.