View previous topic :: View next topic
|
Author |
Message |
manoopatil
New User
Joined: 07 Dec 2003 Posts: 56 Location: Montreal
|
|
|
|
Hi,
The COPYBOOK PDS for my application is deleted with no back ups available. We have the load module and COBOL source code. Now there is a need to change few of the COBOL programs.
Is there a way we can extract the COPYBOOK from load module.
Any pointer to achieve the above mentioned task will be of great help.
Thank you
-Manohar |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
manoopatil wrote: |
Is there a way we can extract the COPYBOOK from load module. |
No. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
How long ago did the PDS "dissappear"?
While possibly inconvenient to work with, there would hopefully still be a full-volume disaster recovery backup . . .
Have you talked with your storage management people? |
|
Back to top |
|
|
MBabu
Active User
Joined: 03 Aug 2008 Posts: 400 Location: Mumbai
|
|
|
|
the reason that this is not possible is that a copybook (assuming it is not executable code) is simply a map of some random storage area. When code is generated to a load module, the code uses those offsets but there is no particular reference to the copybook per se in executable code. Now... IF the code was both compiled and linked with TEST options that preserve source code within the load module, then you *might* be able to recover the source for the copy books and code. Highly unlikely! but browse the load module to see if the actual source is there. Other options include finding old listings, old SYSADATA files that were generated for debugging purposes, or any remnants of debugging that might contain source code or compiler generated cross reference data. All of this is unlikely to still exist, but you never know. Someone might have it on their PC or in a back up. |
|
Back to top |
|
|
manoopatil
New User
Joined: 07 Dec 2003 Posts: 56 Location: Montreal
|
|
|
|
Thank you guys! The PDS last backed up in 2004 with retention period of just 35 days. The application is not changed for years and its now when I realised that COPYBOOKs (both in PROD and TEST) are missing. I got to know this application just a month ago.
Regards
-Manohar |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
If your site has Compuware products and if the programs were compiled into a DDIO file, it is quite possible the listings are still in the DDIO. Big ifs, but something to look into -- the copy books could be recreated from the DDIO listings. |
|
Back to top |
|
|
|