Difference between next and continue clause

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

) how do u code after getting data?

1575


How do u write test cases?

1631


What are the pertinent COBOL commands?

2617


what is the difference between COBOL2 AND COBOL390?

2441


What type of SDLC u followed? Why?

1512






How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

1917


What is the utilization of copybook in cobol?

648


IF I mention stop run in CICS what happens?

1886


Define cobol?

854


What are various search techniques in cobol? Explain.

639


Which mode is used to operate the sequential file?

654


Write a cobol program making use of the redefine clause.

721


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

704


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

705


What is the difference between a binary search and a sequential search what are the pertinent cobol?

725