What the difference is between CONTINUE and NEXT SENTENCE ?
Submitted by: AdministratorThey 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 line.
Submitted by: Administrator
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 line.
Submitted by: Administrator
Read Online Cobol Job Interview Questions And Answers
Top Cobol Questions
☺ | What divisions, sections and paragraphs are mandatory for a COBOL program? |
☺ | How is sign stored in Packed Decimal fields and Zoned Decimal fields? |
☺ | What the difference is between CONTINUE and NEXT SENTENCE ? |
☺ | Give some advantages of REDEFINES clause? |
☺ | How do you code COBOL to access a parameter that has been defined in JCL? And do you code the PARM parameter on the EXEC line in JCL? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |