Difference between next and continue clause
Answers were Sorted based on User's Feedback
Answer / anil prajapati
When we use CONTINUE.it will take the execution control to
statement after the immediate explicit scope terminator.
and NEXT SENTENCE will take the execution control to
statement after the immediate period.
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / mithun
CONTINUE will take the execution control to statement after
the immediate explicit scope terminator. NEXT SENTENCE will
take the execution control to statement after the immediate
period.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / mahesh
Continue will take the control to the next statement.
Eg:
else if cond
continue|next sentence
else
perform imperative statement
end-if
move xxx to yyy. ---1
move zzz to yyy. ---2
In this case control will be transferred to line 1.
Next sentence will transfer the control to the next
sentence.That is line no.2.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sidaraddi vijay
Continue is the No operation statement. the control is just
passed to next statement.
Next sentence passes the control to the next sentence.
Enjoy bye
Is This Answer Correct ? | 3 Yes | 2 No |
i have a requrement in A as viswa!@#$%&^**reddy i need to move viswareddy in B without junk values pls say how to do ths reply fast
if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what should be my output ?
what is the difference between COBOL2 AND COBOL390?
how to run sub programs using static and dynamic call ...
If my file contains 100,000 records and job abended at 55,000th records processing then how can i restart job from that record onward by ignoring that record. I can not edit the file as file size is big and it is getting browse substituted?
why we are using picture clause in the cobol programs?
How do u sort the table for Search ALL? Is it only using ASCENDING KEY IS statement in occurs clause? If the data is input in non ascending order, will the ASC KEY IS automatically sort the data? or will it throw compile time error?
how to change picture class of copy book variable inside program?
for an INITIALIZE and what keyword allows for an override of the default.
hi dudes.....can any one help me..... what is SET TO TRUE all about,anyway?
what is the diff b/w select stsmt and cursor ?
hi friends,can any one post the ibm mainframe inteqview questions for 1year exp candidate,for itc infotech interview?. have any body attended for this in the past?...