IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Copying program from DDIO listing


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
samzee71

New User


Joined: 01 Feb 2010
Posts: 8
Location: Dallas, TX, USA

PostPosted: Sat Jan 15, 2011 1:04 am
Reply with quote

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

Moderator Emeritus


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

PostPosted: Sat Jan 15, 2011 1:14 am
Reply with quote

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

New User


Joined: 01 Feb 2010
Posts: 8
Location: Dallas, TX, USA

PostPosted: Sat Jan 15, 2011 1:23 am
Reply with quote

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

Global Moderator


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

PostPosted: Sat Jan 15, 2011 1:39 am
Reply with quote

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

Global Moderator


Joined: 06 Jun 2008
Posts: 8612
Location: Dubuque, Iowa, USA

PostPosted: Sat Jan 15, 2011 2:00 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts Assembler: Set Program Mask for decim... PL/I & Assembler 4
No new posts Search substring in internal table of... COBOL Programming 2
No new posts TSO WHOIS Command in JCL Program JCL & VSAM 5
No new posts Calling COBOL DB2 program from a COBO... COBOL Programming 2
No new posts Rexx program reading a DSN then write... CLIST & REXX 4
Search our Forums:

Back to Top