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

Suppose a program has the following code. What will be the
output?

MAIN-PARA.
DISPLAY 'MAIN-PARA'
PERFORM SECTION-A.
STOP RUN.

SECTION-A.
PARA-A1.
DISPLAY 'SECTION A PARA A1'.
PARA-A2.
DISPLAY 'SECTION A PARA A2'.

Answer Posted / suresh ramaiyan

The output is :
---------------
MAIN-PARA
SECTION A PARA A1
SECTION A PARA A2

Because, There is no THRU command in PERFORM statement. So
it will execute still it reaches the 'EXIT' command or it
will perform the full section or until the next section
reaches.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you reference the fixed block file formats from cobol programs

1227


) How do u handle errors in BMS macro?

1969


What are the different types of condition in cobol and write their forms.

1115


What are literals?

1133


Whats the difference between search & search ALL?

6531


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

1109


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

1101


What are the rules of the move verb?

1269


What are declaratives and what are their uses in cobol?

1205


What is the difference between a binary search and a sequential search what are the pertinent cobol?

1138


IF I mention stop run in CICS what happens?

2379


Which is not true about evaluate statement

2457


What are the cobol coding sheets?

1269


How do u write test cases?

2067


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1355