Wat is the difference between NEXT and CONTINUE statement in
cobol,can any one explain with example.
Answer Posted / ankur kar
the following code explains u clearly
If A>B
next sentence
end-if
display 1
display 2.
display 3.
it will display only 3. if a>b
if a>b
continue
end-if
display 1
display 2.
display 3.
it will display 1 2 3. if a>b. let me know if it is not
correct.
| Is This Answer Correct ? | 97 Yes | 16 No |
Post New Answer View All Answers
Name the sections present in data division.
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What are the pertinent COBOL commands?
HOw can I get the negative sign while deduct high value from low value
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What is the difference between perform … with test after and perform … with test before?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
what is the use of outrecord?
Explain how you can characterize tables in cobol?
How many bytes S(8) comp field occupy and its maximum value?
Have you used comp and comp-3 in your project? And how?
how do you reference the fixed unblock file formats from cobol programs
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
Write a program to enter and display the names of students in a class using the occurs clause.