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

Is there any way to recover a deleted PDS or PS using REXX ?


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Navars

New User


Joined: 31 Jan 2007
Posts: 2
Location: Hyderabad

PostPosted: Fri Feb 09, 2007 12:07 pm
Reply with quote

hi ,
Is it possible to recover deleted PDS or PS datasets, if yes
Is there any way to recover a deleted PDS or PS using REXX ?
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Fri Feb 09, 2007 2:58 pm
Reply with quote

Navars wrote:
Is it possible to recover deleted PDS or PS datasets,?
As Dick said about a similar question,
dick scherrer wrote:
Check with your support people who run regular backups. If the member existed in the pds before the last good backup, they should be able to retrieve it for you.
?
Quote:
if yes
Is there any way to recover a deleted PDS or PS using REXX ?
That needs to be answered by a REXX person.
Back to top
View user's profile Send private message
Steve Coalbran

New User


Joined: 01 Feb 2007
Posts: 89
Location: Stockholm, Sweden

PostPosted: Sun Feb 11, 2007 11:28 pm
Reply with quote

Navars wrote:
Is it possible to recover deleted PDS or PS datasets, if yes
Is there any way to recover a deleted PDS or PS using REXX ?


  1. Yes, but if you mean by yourself, then ... possibly.
    If you have HSM active then it will probably take regular if not daily backups depending on the set-up by you Storage Manager(s). To recover a dataset use the HRECOVER command.
    HELP HRECOVER will show you options but just an...
    TSO HRECOVER <dataset> will try to recover from the last HSM backup.
  2. Yes, of course, you can dou most anything in REXX icon_smile.gif
    Issue the command from a REXX EXEC.
Back to top
View user's profile Send private message
Steve Coalbran

New User


Joined: 01 Feb 2007
Posts: 89
Location: Stockholm, Sweden

PostPosted: Sun Feb 11, 2007 11:34 pm
Reply with quote

Ooops typo... dou->do

If no HSM,...
The Storage Manager(s) will certainly take scheduled pack backups and will be able to locate where your library/data was.
Well 99.99%, there may be a reason for not doing so but I have never heard of it.
SMS is almost certainly installed and controlling the storage management by the rules laid down by the SMs and even if HSM is inactive, there is a wealth of system information available to the SMs.
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top