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 / nag(igate)
using evaluate statement
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is report-item in COBOL?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Explain what you understand by passing by value.
What is the LINKAGE SECTION used in COBOL?
Why did you choose to work with ibm mainframe cobol programming?
what are decleratives in cobol?
State the various causes of s0c1, s0c5 and s0c7.
A table has two indexes defined. Which one will be used by the SEARCH?
Which is not true about evaluate statement
how do you reference the printer file formats from cobol programs
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
how do you define single dimensional array and multidimensional array in your cobol?
What is the use of intialize verb?