Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Copying program from DDIO listing

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
View previous topic :: :: View next topic  
Author Message
samzee71

New User


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

PostPosted: Sat Jan 15, 2011 1:04 am    Post subject: Copying program from DDIO listing
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

Site Director


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

PostPosted: Sat Jan 15, 2011 1:14 am    Post subject:
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: 2
Location: Dallas, TX, USA

PostPosted: Sat Jan 15, 2011 1:23 am    Post subject:
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: 1746
Location: Bloomington, IL

PostPosted: Sat Jan 15, 2011 1:39 am    Post subject:
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: 7931
Location: Bellevue, IA

PostPosted: Sat Jan 15, 2011 2:00 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts A sample of exit program for exit XMN... lind sh CICS 2 Mon Oct 03, 2016 5:07 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us