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 is the difference between goback, stop run and exit program in cobol?

1521


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

2484


How arrays can be defined in COBOL?

1135


What are the different open modes available in cobol?

1143


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

17796


What are the various section in data division and briefly explain them.

1110


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

1185


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5316


What do you understand by psb and acb?

1056


What are the access modes of START statement?

1187


A table has two indexes defined. Which one will be used by the SEARCH?

1230


What is a report item?

1093


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

1174


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

1087


IF I mention stop run in CICS what happens?

2304