What is the difference between NEXT SENTENCE and CONTINUE?
Answers were Sorted based on User's Feedback
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 |
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 |
Define static linking and dynamic linking.
What are VS COBOL 11 special features?
Can we MOVE X(9) to 9(9) OR 9(9) to X(9)? If yes what are the ways for doing this?
12 Answers T systems, Tech Mahindra,
Can we use goto statement in inline_perform ?
which is faster either static call or dynamic call ? and specify the reasons for it ? reply fast
Give some advantages of REDEFINES clause?
what is the use of comp2 ? where can we use it with example ?
can we use variable picture clause as xx.99 in cobol.
what is s013u000 for?
What divisions, sections and paragraphs are mandatory for a COBOL program?
where will u code file status ?
Explain about level numbers?