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 the difference is between continue and next sentence?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What are the cobol coding sheets?
Explain the configuration section of a cobol program with examples of syntax.
explain sorting techniques in cobol program?
State the various causes of s0c1, s0c5 and s0c7.
i want a program using by if, evaluate , string, unstring, perform, occurs?
Difference between array and sub-script ?
what are decleratives in cobol?
What are the different open modes available in cobol?
What guidelines should be followed to write a structured cobol prgm?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
) How do u handle errors in BMS macro?