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 |
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
whats the difference between search and search all?
how do you define single dimensional array and multidimensional array in your cobol?
Describe the cobol database components?
TO abend the data sholud open in which mode? 1.new 2.old 3.mod 4.shr
What is the utilization of copybook in cobol?
what is the use of comp2 ? where can we use it with example ?
wht is the difference between goto and perform stmts
can you declare redefine in level 01?
How to delete a front spaces in a data-name/variable in cobol Example:- 01 data-name-1 PIC x(20) value " cobol language". 01 data-name-2 PIC x(20). MOVE data-name-1 to data-name-2. would like the value of data-name-2 is "cobol language".
Write a program that uses move corresponding.
What is the point of the REPLACING option of a copy statement?