Cobol Question: Download Cobol PDF

What the difference is between CONTINUE and NEXT SENTENCE?

Tweet Share WhatsApp

Answer:

They appear to be similar, that is, the control goes to the next sentence in the paragraph. But, Next Sentence would take the control to the sentence after it finds a full stop (.). Check out by writing the following code example, one if sentence followed by 3 display statements (sorry they appear one line here because of formatting restrictions) If 1 > 0 then next sentence end if display ‘line 1' display ‘line 2' display ‘line 3'. *** Note- there is a dot (.) only at the end of the last 2 statements, see the effect by replacing Next Sentence with Continue ***

Download Cobol PDF Read All 110 Cobol Questions
Previous QuestionNext Question
What does EXIT do?What is the difference between performing a SECTION and a PARAGRAPH?