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
What is an in line perform? When would you use it? Anything else you wish to say about it.
how do you reference the variable block file formats from cobol programs
Mention the guidelines to write a structured cobol program?
Whats the difference between search & search ALL?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
Explain the configuration section of a cobol program with examples of syntax.
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
How to remove 2 duplicate records and copy only one using job control language?
Write down the divisions of cobol program?
What is the difference between comp and comp-3?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
i need a small 3d program using inline and outline.
What is the utilization of copybook in cobol?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there