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

Write a cobol program making use of the redefine clause.

741


Can a Search can be done on a table with or without Index?

812


What are different data types in cobol?

699


What are 77 levels used for?

663


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1918






Define static linking and dynamic linking.

671


what are decleratives in cobol?

1831


how do you reference the ksds vsam file formats from cobol programs

671


What are the different rules for performing sort operation?

770


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

720


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

821


What are the different rules to perform a Search?

619


how to access the file from prodution from changeman tool and to submit a file to production

6694


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

689


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

717