Difference between next and continue clause

Answers were Sorted based on User's Feedback



Difference between next and continue clause..

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

Difference between next and continue clause..

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

Difference between next and continue clause..

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

Difference between next and continue clause..

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

Post New Answer

More COBOL Interview Questions

How will 128 be saved in s9 (3) comp-3 How will 12 be saved in s9 (2) comp

3 Answers   CTS,


Write the code implementing the perform … varying.

0 Answers  


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)

5 Answers   IBM,


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

13 Answers   TCS,


Can we move X(9) to 9(9). If yes what are the ways for doing this?

3 Answers  






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.

2 Answers  


What is different between variable length and fixed length?

2 Answers   TCS,


What is the difference between perform … with test after and perform … with test before?

0 Answers  


What are the functions like c or c++ in cobol?

2 Answers  


What is 88 level used for ?

2 Answers  


Can we put move statement in COBOL copybook

3 Answers   Global Logic,


can any one give good example for cond 88 level number and for renames pls urgent dudes ?

3 Answers   DELL,


Categories