What is the difference between NEXT SENTENCE and CONTINUE?

Answers were Sorted based on User's Feedback



What is the difference between NEXT SENTENCE and CONTINUE?..

Answer / guest

next sentence:control is skipped to next sentence after a
full stop,continue:control is skipped to the next
executable instruction after a scope terminator.so always
prefer continue rether than next sentence

Is This Answer Correct ?    25 Yes 2 No

What is the difference between NEXT SENTENCE and CONTINUE?..

Answer / vampire

if we give next control will execute after full stop

ex

01 pic a x(10).
01 pic b x(10)
next sentence
01 pic c x(10)
01 pic d x(10)
01 pic e x (10).
01 pic f x(10).

it ill skip 01 pic c x(10)
01 pic d x(10)
01 pic e x (10).


continue perform all executable statements


01 pic a x(10).
01 pic b x(10)
continue
01 pic c x(10)
01 pic d x(10)
01 pic e x (10).
01 pic f x(10).

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More COBOL Interview Questions

Define static linking and dynamic linking.

0 Answers  


is it possible to declare index in cobol program? if it is not why its tell me pls

3 Answers  


I have a sequential file of 100 records. How do I load the records into a two dimensional array ?

3 Answers   IBM, Xansa,


Which mode is used to operate the sequential file?

0 Answers  


what is the difference between start and startbr?

2 Answers  






How do u write test cases?

0 Answers   IBM,


I have a variable account-number declared as comp-3, s9(10) comp-3 in a file. How do i find a particular account number say 123456 in that file?

3 Answers  


How can you pass values from COBOL program to non-COBOL programs?

2 Answers  


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

0 Answers  


what is sysncpoint?

1 Answers   IBM,


how would find total records in files using seqientional

1 Answers   HSBC,


What is the significance of the PROGRAM-ID paragraph? If this name doesnt match with the name of the COBOL program, does it make a difference? Is the name specified in the PROGRAM-ID paragraph used as a name for the load module or any such thing?

4 Answers   IBM,


Categories