View previous topic :: View next topic
|
Author |
Message |
murali922
New User
Joined: 25 Jul 2005 Posts: 92 Location: India
|
|
|
|
Hi all,
I had developed a cobol program a few months back. I had put that in a package managed by Changeman. My mainframe admin team has set up changeman in such a way that after a specific time, the package would automatically get deleted.
Now I have the loadlib for the program but have lost the source code.
There is no way they can retrieve the code. So is there any tool which would use the loadlib and generate the corresponding source code for me ?
Is there any way I can get the source code in a situation where I just have the loadlib ?
Please let me know asap.
Thanks for the help
Murali. |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
Did you originally have the source in a non-Changeman PDS? Is it or a backup available? |
|
Back to top |
|
|
murali922
New User
Joined: 25 Jul 2005 Posts: 92 Location: India
|
|
|
|
yes I did. But the backup source code is not the latest. There has been changes done to the source code which was there in the package, but was not updated in the back up.
So now I dont have the latest uptodate source code. But I have the load library for the same.
And the back up I have is not the latest. |
|
Back to top |
|
|
murali922
New User
Joined: 25 Jul 2005 Posts: 92 Location: India
|
|
|
|
To be clearer : I have the correct and up-to-date source code. And the back up I have is not the latest version. |
|
Back to top |
|
|
prasadvrk
Active User
Joined: 31 May 2006 Posts: 200 Location: Netherlands
|
|
|
|
I know about decomplier in Java but not in COBOL, if you get to know about any please share the information. Don't you even have a backup of the source listing of the compiler job. |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Murali,
Quote: |
Is there any way I can get the source code in a situation where I just have the loadlib ? |
I dont think its possible in MF |
|
Back to top |
|
|
murali922
New User
Joined: 25 Jul 2005 Posts: 92 Location: India
|
|
|
|
I know where the source code was. Its now deleted off, and admin team is not able to retrieve it.
All I have is just the loadlib for the program. And I am looking for a tool by which I can get the source code.
Murali. |
|
Back to top |
|
|
prasadvrk
Active User
Joined: 31 May 2006 Posts: 200 Location: Netherlands
|
|
Back to top |
|
|
Mickeydusaor
Active User
Joined: 24 May 2006 Posts: 258 Location: Salem, Oregon
|
|
|
|
The best that can be done is to disassemble it with one of the disassembler tools on the CBT website, but this will give you
the assembler code that is generated from the load module. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
You might want to talk with your project management and make sure that other things do not "just go away" in the future. Managing the environment is a good thing, but once the investment is made in developing something (even a one-time-shot), the source should at least be archived for possible use later. The cost of creating a 1000 line module costs far more than saving it in some form.
Something that many of us do these days is to offload "our stuff" to a local drive so we have our own copy. You may want to begin saving your "stuff" offline. |
|
Back to top |
|
|
Suryanarayana.tadala
New User
Joined: 03 Nov 2005 Posts: 43 Location: St.Louis
|
|
|
|
I think you should be having compile listing of your code some where in some Changeman library when you promote your code...
Did u try checking with your changeman people on this..if you have this you can get the code back.... |
|
Back to top |
|
|
mohanbabu_ib Warnings : 1 New User
Joined: 22 Jun 2007 Posts: 8 Location: chennai
|
|
|
|
Hi,
As suryanarayana have specified, when you promote the package, it will be promoted to next higher region, say model, then the source code will be there in some library to store model components. Please check with your admin.
I have experienced similar problem like this, but i dont have anyother go other than coding the stuff from the scratch. It was minor change so i didnt mind much.
I dont have any idea abt decompilers for cobol.. sorry...
some suggestions to avoid deletion of package:
You can avoid the deletion of package, whenever you go to changeman, it will list all the packages that will be deleted in next few days. The package usually gets deleted if the install date expires, so specify the install date of the package while creating it to some years in future so that you can change it accordingly while freezing it.
Hope this will help you. |
|
Back to top |
|
|
|