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

Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

701


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

919


What is the difference between binary search and sequential search?

634


What type of SDLC u followed? Why?

1512


Explain about different table spaces.

642






what is amode(24), amode(31), rmode(24) and rmode(any)?

686


how do you reference the variable block file formats from cobol programs

674


What are the different data types in cobol?

781


How to know whether the module is dynamical or statistical?

648


How many sections are there in data division in COBOL?

674


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1895


Mention the guidelines to write a structured cobol program?

603


What is the compute verb? How is it used?

649


What is an in line perform? When would you use it? Anything else you wish to say about it.

639


Name some of the examples of COBOl 11?

2673