Wat is the difference between NEXT and CONTINUE statement in
cobol,can any one explain with example.
Answer Posted / vinutna koritala
continue will skip control to next executable instruction
after scope terminator. Next sentence will pass control to
next sentence after fullstop.Always prefer continue
statement.
| Is This Answer Correct ? | 16 Yes | 15 No |
Post New Answer View All Answers
What is the difference between comp and comp-3 usage?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What are the access modes of START statement?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
How do you get the data to code the BMS macro?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What is inspect in cobol ?
Explain how to differentiate call by context by comparing it to other calls?
what happens if parmparameter passes zero bytes to the program
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What are 77 levels used for?
What is the difference between next sentence and continue in cobol programing language?