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

What will happen if you code GO BACK instead of STOP RUN in
a stand alone COBOL program ?

Answer Posted / vampire

If GOBACK is coded instead of STOPRUN in a cobol program
which is not called by any other program nothing wrong will
happen. The program will give desired results.


Generally 3 things are coded to halt the execution of a
program they are

STOP RUN
GOBACK
EXIT PROGRAM

STOP RUN is frequently used and mainly coded in main
programs(calling program). The control will be returned to OS.

GOBACK is coded in the mainly in the subroutines or called
programs. The control will be returned to the calling
program. If STOP RUN is coded in the calling program the
program will go to an infinite execution. GOBACK can be
coded in the programs which is not called by any programs
instead of STOP RUN.

EXIT PROGRAM is seldom used.

Is This Answer Correct ?    14 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

2995


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

1105


What is redefines clause in COBOL?

1293


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

1340


How do define dynamic array in cobol.

1127


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2433


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

1247


) what is the difference between AID and HANDLE AID?

2149


What are literals?

1131


What is difference between static and dynamic call in cobol?

1387


Difference between array and sub-script ?

1656


HOw can I get the negative sign while deduct high value from low value

2255


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

1347


Write a cobol program making use of the redefine clause.

1177


what is amode(24), amode(31), rmode(24) and rmode(any)?

1143