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 do you define a table/array in COBOL?
In EBCDIC, how would the number 1234 be stored?
How can we know that cobol program is using report file or simple file....?
what is the difference between Normal vaiable and comp variable.
which is better comp or comp-3 in terms of memory utilization?
what is the result of the following? DIVIDE A INTO B GIVING C. a.C=A/B b.the reminder of B/A is stored in C c.C=B/A d.the reminder of A/B is stored in C
What will happen if we generate GDG (+2) version without generating (+1) version?
Hi, My interviewer ask A calls B and C calls B, a and b are static c and b are dynamic.what happens if they compile and execute at same time.
Hi................... I have records like this aaaa cccc bbbb And i want output like this bbbb cccc aaaa How can it possible ?. Note:Please make sure records are in unsorted order. somebody plzzz help me.
I have a Flat file in which certain records are present in a tabular format. I need to extract some of the records on some basis from it and copy them into a flat file...how it can be done ??
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mode what will happen?