Difference between next and continue clause
Answers were Sorted based on User's Feedback
Answer / anil prajapati
When we use CONTINUE.it will take the execution control to
statement after the immediate explicit scope terminator.
and NEXT SENTENCE will take the execution control to
statement after the immediate period.
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / mithun
CONTINUE will take the execution control to statement after
the immediate explicit scope terminator. NEXT SENTENCE will
take the execution control to statement after the immediate
period.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / mahesh
Continue will take the control to the next statement.
Eg:
else if cond
continue|next sentence
else
perform imperative statement
end-if
move xxx to yyy. ---1
move zzz to yyy. ---2
In this case control will be transferred to line 1.
Next sentence will transfer the control to the next
sentence.That is line no.2.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sidaraddi vijay
Continue is the No operation statement. the control is just
passed to next statement.
Next sentence passes the control to the next sentence.
Enjoy bye
Is This Answer Correct ? | 3 Yes | 2 No |
1.What is the default print format in cobol?
what happens when a copybook variables are declared using include statement ?
subscript and index r not coded in u r application program what will happen?
what is qualification on occurs clause?
What is COMP SYNC?
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
How do you code Cobol to access a parameter that has been defined in JCL?
Explain how to differentiate call by context by comparing it to other calls?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What rules are followed by the search verb.
which one is better among static call and dynamic call?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?