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
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
what is difference between cobol and cobol/400
Which mode is used to operate the sequential file?
What is redefines clause in COBOL?
How do you reference the fixed block file formats from cobol programs
What is the problem of ordered sequential files access?
What is the difference between structured cobol programming and object alternativelyiented cobol?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How do define dynamic array in cobol.
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What are the different rules of SORT operation?
How to know whether the module is dynamical or statistical?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
In COBOL programming, what is PERFORM? What is VARYING?