Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Extract COPYBOOK from LOAD MODULE

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
manoopatil

New User


Joined: 07 Dec 2003
Posts: 56
Location: Montreal

PostPosted: Tue Mar 23, 2010 10:17 pm    Post subject: Extract COPYBOOK from LOAD MODULE
Reply with quote

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
View user's profile Send private message

Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1753
Location: Bloomington, IL

PostPosted: Tue Mar 23, 2010 10:25 pm    Post subject: Re: Extract COPYBOOK from LOAD MODULE
Reply with quote

manoopatil wrote:
Is there a way we can extract the COPYBOOK from load module.

No.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Mar 23, 2010 11:10 pm    Post subject:
Reply with quote

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
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 401
Location: Mumbai

PostPosted: Wed Mar 24, 2010 2:11 am    Post subject:
Reply with quote

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
View user's profile Send private message
manoopatil

New User


Joined: 07 Dec 2003
Posts: 56
Location: Montreal

PostPosted: Wed Mar 24, 2010 7:03 am    Post subject: Reply to: Extract COPYBOOK from LOAD MODULE
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7990
Location: Bellevue, IA

PostPosted: Wed Mar 24, 2010 7:26 am    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Extract set of records matching on ac... bhaskar_kanteti DFSORT/ICETOOL 3 Mon Mar 06, 2017 7:19 am
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts Need Rexx Program to Load in to DB2 T... Hareesh Verma CLIST & REXX 22 Tue Sep 20, 2016 2:59 pm
No new posts Copybook structure in Load module Vai123 COBOL Programming 7 Fri Sep 16, 2016 8:29 pm
This topic is locked: you cannot edit posts or make replies. ERROR WHILE SUBMITTING LOAD JOB ANURADHA NEELAKANTAN JCL & VSAM 12 Thu Aug 25, 2016 11:50 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us