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 / vani
is there any exit statement for the goto para
if it's so,it can be replaced with perform statement
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Which Search verb is equivalent to PERFORM…VARYING?
Mention the guidelines to write a structured cobol program?
What are the different rules of SORT operation?
In which area will you utilize 88 level items in cobol?
How do you reference the following file formats from cobol programs?
how do you reference the variable unblock file formats from cobol programs
Why did you choose to work with ibm mainframe cobol programming?
What is amode(24)?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
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 printer file formats from cobol programs
Name some of the examples of COBOl 11?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
Difference between array and sub-script ?
What is the LINKAGE SECTION used in COBOL?