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 |
A s9(4). B v9(4) value 0.21 can i move this?
Name the sections present in data division.
Explain the difference between an internal and an external sort, the pros and cons, internal sort syntax etc.
what is dynamic array in cobol? what is the difference b/w array and table in cobol?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
Hi all, I have a following requirement to write the cobol program. I have to load the 129 variables from input sequential file which are in excel sheet to the cobol inernal table. and after loading into table i have to compare this data with the business file. here compare means controlling the data whether the format(numeric,alpha) is same in the business file and in the table??? i have the same data in input and business file. could anyone please give me any idea of the logic?// i have all the 129 different variables(129rows,1 column)is there .
How to retain the Duplicates in the one records?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
How to pass return codes from cobol to jcl?
A paragraph PARA-X is to be executed when none of the data names A, B and C have value of 1. Which of the following will achieve this ? (a) IF A NOT = 1 OR B NOT = 1 OR C NOT = 1 PERFORM PARA-X (B) IF NOT A= 1 AND B= 1 AND C = 1 PERFORM PARA-X (C) IF A NOT =1 IF NOT B = 1 OR C= 1 PERFORM PARA-X (C) IF A NOT = 1 AND B NOT = 1 AND C NOT = 1 PERFORM PARA-X
01 x pic s9(8) comp. How will the following value be internally allocated '18787'