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 the difference between Structured COBOL Programming and Object Oriented COBOL programming?

893


what is the use of outrecord?

2004


Why would you use find and get rather than to obtain?

938


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

887


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2324


What is comp-1 and comp-2?

968


Write down the divisions of cobol program?

884


Write a program to enter and display the names of students in a class using the occurs clause.

974


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2158


What are the pertinent COBOL commands?

2874


Explain the configuration section of a cobol program with examples of syntax.

913


Define cobol?

1095


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

1859


What are the different types of condition in cobol and write their forms.

896


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1999