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
What kind of error is trapped by on size error option?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What are various search techniques in cobol? Explain.
how do you reference the fixed unblock file formats from cobol programs
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.
Describe the cobol database components?
Which division and paragraphs are mandatory for a COBOL program?
What is the compute verb? How is it used?
Explain how to differentiate call by context by comparing it to other calls?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
how can i see junk values in dclgen or in hostvariable of comp ?
What are the different rules to perform a Search?
Discuss about changing dataset name in proc.
What are the different rules of SORT operation?
What is a report item?