What is the difference between NEXT SENTENCE and CONTINUE in COBOL programing language?

devquora
devquora

Posted On: Feb 22, 2018

 

In COBOL language, NEXT STATEMENT is used to give control to the next verb following next period. Next Sentence is the collection of sentences that always ends with (.) so the control passes over to next verb following next period. When NEXT SENTENCE is coded, 1 will not be added to input count.

CONTINUE statement is used to give control to the next verb after the explicit scope terminator. When CONTINUE is coded, +1 will be added to input count.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Cobol interview questions

    What is COBOL?

    In 1959, the US Department of Defence formed CODASYL (Conference on Data Systems Language). CODASYL was formed with the..

    Cobol interview questions

    Write some characteristics of COBOL as means of business language.

    COBOL is a dominant programing language that has aided business users since few decades. Following are the features of..

    Cobol interview questions

    What are different data types in COBOL?

    COBOL supports three data types in it programming structure. They are- Alpha-numeric (X) Alphabetic (A,B,C) Numeric (1,..