View previous topic :: View next topic
|
Author |
Message |
samzee71
New User
Joined: 01 Feb 2010 Posts: 8 Location: Dallas, TX, USA
|
|
|
|
I compiled a program with Xpediter option and have listing in the DDIO file. The program got updated and now I have a need to restore to the old version. Is there any way to copy the program from my old DDIO listing.
Thanks. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello and welcome to the forum,
Many source management systems retain one or more "history" versions of code. Suggest you talk with the people who support configuration management to learn if anything is available on your system.
Quote: |
Is there any way to copy the program from my old DDIO listing |
Copy/Paste?
You might also copy the ddio listing into another dataset and re-format this using the exitor.
I don't know if Xpediter provides a "re-source" capability. |
|
Back to top |
|
|
samzee71
New User
Joined: 01 Feb 2010 Posts: 8 Location: Dallas, TX, USA
|
|
|
|
dick scherrer wrote: |
You might also copy the ddio listing into another dataset and re-format this using the exitor. |
Thanks for the reply. What utility can be used to copy the ddio listing to another dataset? |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1787 Location: Bloomington, IL
|
|
|
|
samzee71 wrote: |
dick scherrer wrote: |
You might also copy the ddio listing into another dataset and re-format this using the exitor. |
Thanks for the reply. What utility can be used to copy the ddio listing to another dataset? |
In TSO/ISPF, use option 3.2 to create the recipient data set, then option 3.3 to copy it. In batch MVS, I recommend DFSORT/SyncSort or IEBGENER (which will probably turn out to be an alias for your sort product). |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
As far as I can tell from the manuals, Xpediter supports pritnting of a source code listing, but not regeneration of the actual source code. The source listing from Xpediter would require extensive editng to create the original source, as all copybooks are expanded, there's additional lines added by Xpediter, and the listing is not 80 bytes wide.
The source code management system should be relied upon for backups of source code, not a debugger. |
|
Back to top |
|
|
|