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 |
How will 128 be saved in s9 (3) comp-3 How will 12 be saved in s9 (2) comp
Write the code implementing the perform … varying.
how to fetch the record before the last record in a cobol file( its a huge file and if the key field is not known)
OCCURS clause is used in the DATA DIVISION on data names at (a) 01 level (b) 77 level (c) 88 level (d) any level from 02 to 49
Can we move X(9) to 9(9). If yes what are the ways for doing this?
Can anyone tell me how to handle the array beyond the limit. If we have an array or a table which can handle 5000 records but now we have to compensate 20000 records with the same array? how to handle the situation.
What is different between variable length and fixed length?
What is the difference between perform … with test after and perform … with test before?
What are the functions like c or c++ in cobol?
What is 88 level used for ?
Can we put move statement in COBOL copybook
can any one give good example for cond 88 level number and for renames pls urgent dudes ?