perform I from 0 by 1 until I=5?How maney times it will
executes
Answer Posted / varun v
I agree with Answr #3 and Answer # 3 is correct..
PERFORM I FROM 0 BY 1 UNTIL I=5
........................
........................
END-PERFORM.
would give syntax error.
************************************************************
Correct one is given as below...
PERFORM varying i from 0 by 1 until i = 5
.............
.............
END-PERFORM.
and this should get executed 5 times....
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Write a program to enter and display the names of students in a class using the occurs clause.
what is the use of outrecord?
What the difference is between continue and next sentence?
What is inspect in cobol ?
what is difference between cobol and cobol/400
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What are the different rules for performing sort operation?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What guidelines should be followed to write a structured cobol prgm?
What is amode(24)?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
how to refer the data field?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
How do u write test cases?
What is a SSRANGE and NOSSRANGE?