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


Please Help Members By Posting Answers For Below Questions

What the difference is between continue and next sentence?

751


What is the Purpose of POINTER Phrase in STRING command in COBOL?

845


What are the cobol coding sheets?

745


Explain the configuration section of a cobol program with examples of syntax.

753


explain sorting techniques in cobol program?

784






State the various causes of s0c1, s0c5 and s0c7.

747


i want a program using by if, evaluate , string, unstring, perform, occurs?

4190


Difference between array and sub-script ?

1251


what are decleratives in cobol?

1903


What are the different open modes available in cobol?

822


What guidelines should be followed to write a structured cobol prgm?

766


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

2069


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?

2215


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

763


) How do u handle errors in BMS macro?

1514