View previous topic :: View next topic |
Author |
Message |
Okonita Beginner
Joined: 29 Oct 2003 Posts: 9 Topics: 7
|
Posted: Wed Oct 29, 2003 10:48 am Post subject: Is there a utility to generate copybooks from a load module? |
|
|
Hello all,
Is there any utility available that can take a load module and generate the copybooks for VSAM files that were used in the programs? I not only want to know the record length at the time, I also want to know the columns? Is this possible?
For example, I am missing a copy layout of a VSAM dataset we have in our shop. I need to determine the record layout for the file at a specific point in time using the load module of a program that reads/writes to the dataset.
Thanks |
|
Back to top |
|
|
bablack Beginner
Joined: 04 Dec 2002 Posts: 71 Topics: 0 Location: Little Falls, NJ
|
Posted: Wed Oct 29, 2003 11:17 am Post subject: |
|
|
Quote: | Is there any utility available that can take a load module and generate the copybooks for VSAM files that were used in the programs?
Sorry, no. The load module doesn't contain any info about the record layouts. It would be an impossible job for a program to analyze the machine instructions in a load module and try to figure out the size and type of record field. |
_________________ Bruce A. Black
Senior Software Developer
Innovation Data Processing |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Wed Oct 29, 2003 12:02 pm Post subject: |
|
|
okonita,
Quote: |
For example, I am missing a copy layout of a VSAM dataset we have in our shop. I need to determine the record layout for the file at a specific point in time using the load module of a program that reads/writes to the dataset.
|
Can't you just look at the source and see the file definition? Am I missing something here?
Do you mean to say that you just have a loadlib but you lost your source??
Kolusu
PS: Please do not post the same topic in more than 1 forum. I deleted your duplicate post. |
|
Back to top |
|
|
slade Intermediate
Joined: 07 Feb 2003 Posts: 266 Topics: 1 Location: Edison, NJ USA
|
Posted: Thu Oct 30, 2003 12:21 pm Post subject: |
|
|
Hi,
While you can't use a load module to get copybook data, your shop my keep back (archival) versions of your production pgms. If so recompile the appropriate version in the test environment to get the info.
Regards, Jack. |
|
Back to top |
|
|
|
|