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...

Consider the below example

call a-test1.
--
--
--
a-test1.
if a=b
perform a-test through a-exit
next sentence
else
if b=c
perform c-test through c-exit.
if a=d
perform d-test through d-exit.
a-test.
--
--
a-exit.
exit.

can u tell me what will happen if a=b
after looping into a-exit will the control go back to a-
test1.

will the condition a=d be checked???

Answer Posted / adarsha

NOP ! none of the above.. compiler Error !!!

When you are using NEXT SENTENCE or continue, their
shouldn't be any sentence/paragraph name or anything before
or after it with in that condition...

if a=b
NEXT SENTENCE
.
.
. should be the syntax ... perform a-test through a-exit
shouldn't be coded 1


hope it helps u !

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different open modes available in cobol?

1174


Write the code to count the sum of n natural numbers.

1194


How arrays can be defined in COBOL?

1191


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

1221


What is the LINKAGE SECTION used in COBOL?

1515


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17850


What is a report item?

1130


Difference between cobol and cobol-ii?

1254


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1152


Mention the guidelines to write a structured cobol program?

1072


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

1118


Name the divisions, which are available in a cobol program?

1216


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2559


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

1202


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

1179