Wat is the difference between NEXT and CONTINUE statement in
cobol,can any one explain with example.
Answer Posted / ankur kar
the following code explains u clearly
If A>B
next sentence
end-if
display 1
display 2.
display 3.
it will display only 3. if a>b
if a>b
continue
end-if
display 1
display 2.
display 3.
it will display 1 2 3. if a>b. let me know if it is not
correct.
Is This Answer Correct ? | 97 Yes | 16 No |
Post New Answer View All Answers
What rules are to be followed while using the corresponding options?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
what are decleratives in cobol?
what is difference between cobol and cobol/400
how do you reference the variable unblock file formats from cobol programs
What are declaratives and what are their uses in cobol?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
How do define dynamic array in cobol.
what is amode(24), amode(31), rmode(24) and rmode(any)?
i want a program using by if, evaluate , string, unstring, perform, occurs?
What are various search techniques in cobol? Explain.
How are the next sentence and continue different from each other?
State the various causes of s0c1, s0c5 and s0c7.
Have you used comp and comp-3 in your project? And how?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?