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

How to recover an old copy of a member in a PDS


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Paul1983

New User


Joined: 08 Jul 2008
Posts: 37
Location: bangy

PostPosted: Tue Jul 29, 2008 2:33 pm
Reply with quote

Hi,

I have 2 PDS A and B.Both A and B contains a member with name Mem1 with same code.I changed the Mem1 in A.But accidently while doing something I copied the Mem1 in B(without changes) to PDS A.So the Mem1 in A got replaced with Mem1 in B(with no changes).Is there any way to recover the Mem1 in A where I made changes ?

Thanks,
Paul
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8796
Location: Welsh Wales

PostPosted: Tue Jul 29, 2008 2:57 pm
Reply with quote

My initial guess would be NO

Was this all done on the same day, or some work done on a previous day where you may have an overnight backup of any changes made up to that point.
Back to top
View user's profile Send private message
Paul1983

New User


Joined: 08 Jul 2008
Posts: 37
Location: bangy

PostPosted: Tue Jul 29, 2008 3:00 pm
Reply with quote

It's all done on the same day
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8796
Location: Welsh Wales

PostPosted: Tue Jul 29, 2008 3:04 pm
Reply with quote

Oh well, back to the drawing board then icon_biggrin.gif
Back to top
View user's profile Send private message
Paul1983

New User


Joined: 08 Jul 2008
Posts: 37
Location: bangy

PostPosted: Tue Jul 29, 2008 4:54 pm
Reply with quote

so there is no way to recover?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8796
Location: Welsh Wales

PostPosted: Tue Jul 29, 2008 4:58 pm
Reply with quote

Unless you specifically took your own backups during the edit process - NO.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Tue Jul 29, 2008 7:09 pm
Reply with quote

There are utilities to recover members in a PDS (not PDSe!). If the library has not been compressed, the data still exists but has no 'pointer' to it.

You can probably find something on the CBT tape Use [URL] BBCode for External Links such as 'PDS' on file 182.
Back to top
View user's profile Send private message
anaresh

New User


Joined: 01 Aug 2008
Posts: 3
Location: Hyderabad

PostPosted: Fri Aug 01, 2008 12:28 pm
Reply with quote

You can try following command:
HLIST DATASET('xx.xxxx.xxxxx') BCDS which gives you different versions of back ups taken by the system(If it has the back-ups)

Then you can recover the version of your PDS by giving following command:
HRECOVER 'xx.xxxx.xxxxx' newname('xx.xxx.xxxxx.xxx') gen(0)

gen can be 0, 1, 2 etc depending upon version. icon_cool.gif
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Fri Aug 01, 2008 12:47 pm
Reply with quote

Hi,

see link http://www.ibmmainframes.com/about20761.html


Gerry
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 262

PostPosted: Fri Aug 01, 2008 3:38 pm
Reply with quote

As Bill said there is no problem recovering a member that has been deleted as long as the library has not been compressed. try doin a search with google using the following keywords. revive pds gas kimu This will give you hit on the CBT tape . I have used this utility in times of need with great success
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Tue Aug 05, 2008 6:37 pm
Reply with quote

If the member was a pgm and you copiled/assembled it, you could use the listing to recover your changes. It'll take some work, but it can be done.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Aug 05, 2008 7:29 pm
Reply with quote

I have rebuild complete source libraries from xpeditor ddio files - use print option, then parse the listing with a rexx (or by hand if you only have a few).

would be the same process that mmwife suggested, incase you don't save your listings (I have worked at many sites that did not have a panvelet or endevor at the development level - only pds's)
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Copy only TEXT or String from a record SYNCSORT 4
No new posts Use Copy Utility DB2 7
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
Search our Forums:

Back to Top