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 |
in real time what is the suitable exp where in-stream procedure is better then catalog procedure.
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?
What COBOL construct is the COBOL II EVALUATE meant to replace?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
I have 100 records in a file.. i want to sort the records from 5 to 5o... give the syntax...
what will happen if i give program name and member name as different? program runs successful or w'll abend?
1)what is the maximum limit for occurs? Eg: 01 A PIC X(10) OCCURS N TIME. What is the max value for N?
COBOL Snippet: Tell where the control will when the below code execute IF (A=B) CONTINUE ELSE NEXT SENTENCE PERFORM <IMP-STMT> END-IF.
9(2).99 how many bytes take? Why . consider as a byte?
How many divisions we have in Cobol ?
What is the Importance of GLOBAL clause According to new standards of COBOL?