View previous topic :: View next topic
|
Author |
Message |
raghavmcs
Active User
Joined: 14 Jul 2005 Posts: 105
|
|
|
|
Dear Experts,
A few of the products are not needed in our clisnt business.I got the information that they got obsolete 2-3 years back and probably will never be introducted again.
I see around 50 of cobol porgrams and few of them run during critcal batch update time still have that portion of code in production.
I beleive that there would be no data in production which would ever be meant for that obsolete production code.I am wondering if there could be any benefit to organization in removing those portion of code or atleast making that code as dead by commenting that out.
Thanks |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
If you compile the program using compile option OPT(FULL), the compiler will produce a listing of all the dead/unreachable code and will exclude it from the object before link-edit.
This option does a good job....
Bill |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
Bill O'Boyle wrote: |
If you compile the program using compile option OPT(FULL), the compiler will produce a listing of all the dead/unreachable code and will exclude it from the object before link-edit. |
But if there is a reachable IF THEN PERFORM/GOTO to that code, it will remain...... |
|
Back to top |
|
|
|