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
Write a cobol program making use of the redefine clause.
Can a Search can be done on a table with or without Index?
What are different data types in cobol?
What are 77 levels used for?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
Define static linking and dynamic linking.
what are decleratives in cobol?
how do you reference the ksds vsam file formats from cobol programs
What are the different rules for performing sort operation?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is the difference between external and global variables in COBOL?
What are the different rules to perform a Search?
how to access the file from prodution from changeman tool and to submit a file to production
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?