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
In which area will you utilize 88 level items in cobol?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
How to remove 2 duplicate records and copy only one using job control language?
Which Search verb is equivalent to PERFORM…VARYING?
) How do u handle errors in BMS macro
What are the cobol coding sheets?
Name some of the examples of COBOl 11?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
What are various search techniques in cobol? Explain.
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
How do you differentiate between cobol and cobol-ii?
how to access the file from prodution from changeman tool and to submit a file to production
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?