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 the difference between Structured COBOL Programming and Object Oriented COBOL programming?
what is the use of outrecord?
Why would you use find and get rather than to obtain?
Why did you choose to work with ibm mainframe cobol programming?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What is comp-1 and comp-2?
Write down the divisions of cobol program?
Write a program to enter and display the names of students in a class using the occurs clause.
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What are the pertinent COBOL commands?
Explain the configuration section of a cobol program with examples of syntax.
Define cobol?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What are the different types of condition in cobol and write their forms.
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.