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 are the access modes of START statement?

1283


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

1247


how can i see junk values in dclgen or in hostvariable of comp ?

3009


Discuss about changing dataset name in proc.

1245


what is the use of outrecord?

2233


Which mode is used to operate the sequential file?

1217


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1256


What is the difference between external and global variables in COBOL?

1479


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

1543


What is the local-storage section?

1159


How many bytes S(8) comp field occupy and its maximum value?

2152


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

1213


explain sorting techniques in cobol program?

1209


What are the different open modes available in cobol?

1205


how do you reference the fixed unblock file formats from cobol programs

1254