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

1.What is the default print format in cobol?

5 Answers   HSBC,


what happens when a copybook variables are declared using include statement ?

3 Answers   IBM,


subscript and index r not coded in u r application program what will happen?

2 Answers  


what is qualification on occurs clause?

2 Answers  


What is COMP SYNC?

3 Answers  






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

0 Answers  


How do you code Cobol to access a parameter that has been defined in JCL?

3 Answers  


Explain how to differentiate call by context by comparing it to other calls?

0 Answers  


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

0 Answers   Accenture,


What rules are followed by the search verb.

0 Answers  


which one is better among static call and dynamic call?

3 Answers  


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

0 Answers  


Categories