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
how to move the records from file to array table. give with code example
Which Search verb is equivalent to PERFORM…VARYING?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
Whats the difference between search & search ALL?
example for sub strings ? and refernce modifications whit output pls
Write down the divisions of cobol program?
How do you differentiate between cobol and cobol-ii?
What is an in line perform? When would you use it? Anything else you wish to say about it.
what are decleratives in cobol?
How arrays can be defined in COBOL?
A table has two indexes defined. Which one will be used by the SEARCH?
What type of SDLC u followed? Why?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
Differentiate between structured cobol programming and object-oriented cobol programming.
What is amode(31)