Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Wat is the difference between NEXT and CONTINUE statement in
cobol,can any one explain with example.

Answer Posted / satish k

Explanation for Next sentence:
sol:
code:
If A>B

next sentence

end-if

display 1

display 2.

display 3.

So, over here the output is no doubt 3 provided A>B id true.
well, but it works is, the next sentence will always search
for the next executable sentence in the flow.
Here, the next executable sentence was display 3.so, it
executes and gives output as 3.
Explanation for Continue:
code:
if a>b

continue

end-if

display 1

display 2.

display 3.
Here in Continue statement, it is just like 'do nothing'.
so, it will executes all the display statements.

Is This Answer Correct ?    37 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between binary search and sequential search?

1128


What is the use of intialize verb?

1298


Name the sections present in data division.

1306


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2595


Write some characteristics of cobol as means of business language.

1196


In COBOL programming, what is PERFORM? What is VARYING?

1204


Name some of the examples of COBOl 11?

3196


How to remove 2 duplicate records and copy only one using job control language?

1257


What is the difference between Call and a Link?

1261


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2640


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

1270


Explain how to differentiate call by context by comparing it to other calls?

1240


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2185


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

1174


What is the difference between PIC 9.99 and PIC9v99?

1401