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

i have a requrement in A as viswa!@#$%&^**reddy i need to move viswareddy in B without junk values pls say how to do ths reply fast

4 Answers   L&T,


if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what should be my output ?

3 Answers  


what is the difference between COBOL2 AND COBOL390?

0 Answers   L&T,


how to run sub programs using static and dynamic call ...

3 Answers   TCS,


If my file contains 100,000 records and job abended at 55,000th records processing then how can i restart job from that record onward by ignoring that record. I can not edit the file as file size is big and it is getting browse substituted?

5 Answers   TCS,






why we are using picture clause in the cobol programs?

2 Answers  


How do u sort the table for Search ALL? Is it only using ASCENDING KEY IS statement in occurs clause? If the data is input in non ascending order, will the ASC KEY IS automatically sort the data? or will it throw compile time error?

1 Answers   CTS,


how to change picture class of copy book variable inside program?

2 Answers  


for an INITIALIZE and what keyword allows for an override of the default.

2 Answers  


hi dudes.....can any one help me..... what is SET TO TRUE all about,anyway?

1 Answers  


what is the diff b/w select stsmt and cursor ?

2 Answers  


hi friends,can any one post the ibm mainframe inteqview questions for 1year exp candidate,for itc infotech interview?. have any body attended for this in the past?...

1 Answers   ITC Infotech,


Categories