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 / ganesh
but if there is no any condition to check for in evaluate
statement. how can we replace it using evaluate.
won't it change the structure of program if we use evaluate
statement.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Which division and paragraphs are mandatory for a COBOL program?
Difference between array and sub-script ?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
how do you reference the esds vsam file formats from cobol programs
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?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
What is the difference between Global and External Variables?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
In which area will you utilize 88 level items in cobol?
What is the compute verb? How is it used?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
How to print 10 to 1 if the input have only 10 digit number?
In COBOL, what is the different between index and subscript?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?