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

How to replace the GOTO statement in COBOL without changing
the structure of program. e.g. consider following code...
I.D.
E.D.
D.D.
P.D.
compute C = A + B.
GOTO para 100-display.
compute D = C - D.
GOTO 200-display.
some other logic......
........
GOTO 300-para.
......
......
GOTO 400-para.

Now I want to replacce all GOTO statements without
changing the structure and otput of program.

Answer Posted / ganesh

but if there is no any condition to check for in evaluate
statement. how can we replace it using evaluate.

won't it change the structure of program if we use evaluate
statement.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention the guidelines to write a structured cobol program?

1085


What is the LINKAGE SECTION used in COBOL?

1522


Which is not true about evaluate statement

2449


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

1111


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

1091


What is the difference between external and global variables in COBOL?

1452


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

1400


what is the use of outrecord?

2206


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

1133


how do you reference the printer file formats from cobol programs

1212


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

1426


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

1077


Write a program to enter and display the names of students in a class using the occurs clause.

1200


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

1247


How can you get the ksds file records into your cobol program?

1093