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

What is static and dynamic call in cobol?

600


Why did you choose to work with ibm mainframe cobol programming?

631


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

718


What are the access modes of START statement?

719


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1808






What are the different data types in cobol?

800


What is the difference between structured cobol programming and object alternativelyiented cobol?

757


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1703


What are the pertinent COBOL

2045


how do you reference the fixed unblock file formats from cobol programs

712


How do you reference the fixed block file formats from cobol programs

709


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

645


What is the difference between perform … with test after and perform … with test before?

885


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1590


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2734