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
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
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.
What is the difference between binary search and sequential search?
What type of SDLC u followed? Why?
Explain about different table spaces.
what is amode(24), amode(31), rmode(24) and rmode(any)?
how do you reference the variable block file formats from cobol programs
What are the different data types in cobol?
How to know whether the module is dynamical or statistical?
How many sections are there in data division in COBOL?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Mention the guidelines to write a structured cobol program?
What is the compute verb? How is it used?
What is an in line perform? When would you use it? Anything else you wish to say about it.
Name some of the examples of COBOl 11?