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

what is sync clause?

2 Answers   DELL,


Define REDEFINE clause and Is it possible to have the redefine clause anywhere in the working storage section for a data name?

3 Answers  


where will u code file status ?

2 Answers   TCS,


In a file if a column account number conatain value 0001234.. how can we move the value to another variable without zero. value may contain any type such as 00123405. we need the value 1234 or 12305. how can we do that in cobol. Please help.

1 Answers   CSC,


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

0 Answers  






using redefine can you redefine lower variable size to higher variable size?

3 Answers   Patni,


In INITIALIZE what is Repalcing Word will do

1 Answers   CTS,


What is SET TO TRUE all about, anyway?

5 Answers  


Explain what you understand by passing by value.

0 Answers  


which of the following can be used as a check protection symbol a.Z b.S c.* d.+

2 Answers   TCS,


In which area will you utilize 88 level items in cobol?

0 Answers  


How can i write a comp-3 variable into a sequential file should i declara the field in the file description as comp- 3?

1 Answers  


Categories