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

COBOL Snippet: Tell where the control will when the below
code execute

IF (A=B)
CONTINUE
ELSE
NEXT SENTENCE
PERFORM <IMP-STMT>
END-IF.

Answer Posted / manj

CONTINUE inside IF loop searches for the first terminator
END-IF and comes out.

NEXT SENTENCE searches for the first FULL STOP and goes to
the next line after that.

The above code does nothing. IF A=B, control comes to the
next line after END-IF and same for ELSE part too.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between next sentence and continue in cobol programing language?

1278


What is the Purpose of POINTER Phrase in STRING command in COBOL?

1302


Can you please let me know the centre name of INS certification in Kolkata.

2286


What are declaratives and what are their uses in cobol?

1262


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

1252


In COBOL, what is the different between index and subscript?

1282


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?

2332


How do you differentiate between cobol and cobol-ii?

1284


What are the different data types in cobol?

1515


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1552


What are the pertinent COBOL

2626


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1484


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

1330


What kind of error is trapped by on size error option?

1293


Why did you choose to work with ibm mainframe cobol programming?

1162