View previous topic :: View next topic
|
Author |
Message |
tecnokrat Warnings : 1 Active User
Joined: 22 May 2009 Posts: 160 Location: Bangalore
|
|
|
|
Hi ,
My COBOL program has got deleted ,actually i made a mistake in taking a backup copy.
so the spool where i compiled is the only source for me to retrieve the code but this code is completely in the expanded format.
I need to know is there any other workaround so that i can retrieve my program back.
Actually is there any way that the loadlib can be converted back to the program code.
Help is needed in this regard. thanks in advance. |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
Quote: |
Actually is there any way that the loadlib can be converted back to the program code. |
If you don't have such a tool (I'm not even sure it exists), how can it be an option ?
This is not the kind of tool that can be written in REXX in a few minutes...
If there's no backup, then I would say restoring from the compile listing is the only option.
And, if it is a DB2 or CICS program, using the precompiler listing is better than the cobol listing. |
|
Back to top |
|
|
Ranjithkumar
New User
Joined: 10 Sep 2008 Posts: 93 Location: India
|
|
|
|
@Technocrat
Restoring from listing is the best option. Though you can create source from load, you'll lose the variable names used in the program. |
|
Back to top |
|
|
tecnokrat Warnings : 1 Active User
Joined: 22 May 2009 Posts: 160 Location: Bangalore
|
|
|
|
Thanx ranjith, and Marso
but the compile listing is been expanded with alal the DB2 TABLES and the copybooks
and also the listings is been expanded till the 130 th column.
Can i use the file transfer option in the mainframes where i can transfer the data from the .TXT file to the COBOL pds.
Please let me know for this option as i have taken the COMPILE listing and sorted out and now want to upload it to the system. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Yes, the .txt file can probably be uploaded to the mainframe.
One easy way to do this (if you have permission on your system) is to use the ftp client on your pc, connect to the mainframe ftp, position the mainframe to an upload pds (one you create for this - not some common use pds), and transmit the file from your pc to a member on the manframe specifying ASCII.
Once you have successfully uploaded the .txt file, you can do whatever is needed.
If there are questions/problems with the file transfer, the fastest way to get this resolved is working with the system support people for that system. |
|
Back to top |
|
|
MBabu
Active User
Joined: 03 Aug 2008 Posts: 400 Location: Mumbai
|
|
|
|
if your source was stored in a PDS, not a PDSE, and the PDS was NOT compressed since you deleted the member, you can recover the deleted members. See the PDS command on the CBT tape (cbttape.org) and check with your help desk and system programming staff to see if they already have it installed. They may have the commercial version, STARTOOLS. |
|
Back to top |
|
|
|