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 |
Can we put move statement in COBOL copybook
What is an in line perform? When would you use it? Anything else you wish to say about it.
if one main program ,n -subprograms are then which call you follow ?why reasonuhg
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
hie everyone.i just completed my b.tech in electronics and joined mainframes course.am i doing right course for my better future?please help me with your suggestions.ill be very thankful to you guys.
What is the figurative constant in cobol?
How To Separate The Numerics From An Alphanumric Data Item Which Contains Both Alphabates And Numerics ?
what is Reentrancy and Quasi-reentrancy?
how do you move only numeric data from A to B 01 A pic x(10) value 'a1b2c34d5e'. 01 B pic x(5).
how do you reference the fixed unblock file formats from cobol programs
The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mode what will happen?
How do define Dymanic array in cobol how do u define single demensional arry and multidymensional arry in ur cobol.