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

Answer Posted / osachari

next sentence transfers the control to the sentence which
after the first period. where as continue transfers the
control to the statement after the first scope
terminator(end-if...).

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the access modes of START statement?

719


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2658


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

643


what happens if parmparameter passes zero bytes to the program

1664


How arrays can be defined in COBOL?

663






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

880


Write a program to enter and display the names of students in a class using the occurs clause.

652


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1612


what are decleratives in cobol?

1827


What are the cobol coding sheets?

664


Can a Search can be done on a table with or without Index?

802


What is perform what is varying?

705


What are various search techniques in cobol? Explain.

645


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5680


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10597