Wat is the difference between NEXT and CONTINUE statement in
cobol,can any one explain with example.

Answer Posted / abhilash

Its simple

Both mean transfer of control.

Continue - Will transfer control to next statement after
explicit scope terminator.( end-if, end-perform etc.)

Get Next - Will transfer control to next statement after
Implicit scope terminator (. operator)

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2093


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

654


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

680


Write a cobol program making use of the redefine clause.

726


What is an in line perform? When would you use it? Anything else you wish to say about it.

641






which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1019


How many bytes S(8) comp field occupy and its maximum value?

1626


Write a program to explain size error.

669


what happens if parmparameter passes zero bytes to the program

1659


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1921


what is the use of outrecord?

1768


Which division and paragraphs are mandatory for a COBOL program?

707


Mention the guidelines to write a structured cobol program?

614


What is the difference between perform … with test after and perform … with test before?

877


What is a scope terminator give example?

652