View previous topic :: View next topic
|
Author |
Message |
andycool
New User
Joined: 12 Apr 2005 Posts: 64
|
|
|
|
Hi Guys,
Here's something to scratch your brains
Statement:
1. A dataset say 'DEVELOPMENT.OUTPUT.TIL' is getting created in one of the jobs.
2. The Unit parameter given, while creation of this dataset is 'SYSDA'.
3. Using 'SYSDA' deletes this dataset after 24 hours of creation. (not sure about the exact time).
4. Using 'SYSALLDA' will retain this dataset till eternity.
The Query:
Is there anyway of recovering this dataset after it is actually deleted ?
Summary:
1. Job Runs
2. Creats 'DEVELOPMENT.OUTPUT.TIL'.
3. Next day it is deleted as SYSDA is used.
4. Can it be restored by any means ?
Please let me know incase you need any more details.
Thanks in Advance,
Andycool. |
|
Back to top |
|
|
khaarthikm
New User
Joined: 08 Aug 2005 Posts: 15
|
|
|
|
Hey Andy,
Did you tried HRECOVER (tso option), ex HRECOVER 'DEVELOPMENT.OUTPUT.TIL'
Thanks
Khaarthik.M |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
Back to top |
|
|
shivashunmugam Muthu
Active User
Joined: 22 Jul 2005 Posts: 114 Location: Chennai
|
|
|
|
From ?ISPF Primary Option Menu? just go to ?=6? option.
Then give the command -
HRECOVER 'YOURDATASET' GENERATION(0)
Above command will recover the PDS 'YOURDATASET'. Actually system takes the backup of every dataset/PDS on some specific time interval (may be on weekly basis). The above command will recover the latest backup of PDS ?YOURDATASET'.
TRY THIS.... |
|
Back to top |
|
|
radhakrishnan82
Active User
Joined: 31 Mar 2005 Posts: 435 Location: chennai, India
|
|
|
|
Is this what you are looking for?
Hierarchical storage manager takes back up of all datasets that was created.You can use P;H; option from ISPF/PDF PRIMARY OPTION MENU
The following options are listed:
If you want to know which dataset was created on a particular day,then you can use option G or E to list backups or dataset.The backup is taken on the next day's date.So you have to pick the next day dataset for the corresponding date.Then go to opion F to recover the file.
A RESERVED -
B BACKUP - Backup a dataset
D DELETE BACKUP- Delete a dataset backup version
E LIST DATASET - List , delete , migrate datasets
F RECOVER - Recover a dataset from backup
G LIST BACKUPS - List , delete backup versions
H RESERVED -
L LIST INFO - List HSM dataset information
M MIGRATE - Migrate a dataset
O DELETE MIGRAT- FAST delete of a migrated dataset
Q QUERY - Query hsm requests
R RECALL - Recall a dataset from migration |
|
Back to top |
|
|
radhakrishnan82
Active User
Joined: 31 Mar 2005 Posts: 435 Location: chennai, India
|
|
|
|
If the ds was deleted before the backup is taken,then we have to check the master catalog.Normally we dont access this catalog.you need to know the Master catalog of your shop.so that u can recover from it. |
|
Back to top |
|
|
vinu
New User
Joined: 03 Jul 2005 Posts: 9
|
|
|
|
Its seems everyone is confused with HRECALL and HRECOVER.
i know the former is used for migrated datasets. the latter ....
can someone clarify the differences b/w the two?
thanks,
vinu |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
Quote: |
i know the former is used for migrated datasets. the latter .... |
HRECOVER is used to recover a backup version of one or more datasets.
will recover a dataset from the recent backup generation:
HRECOVER dataset name
The following will recover a dataset from the X backup volume generation:
HRECOVER dataset name GEN(xxx)
In this command, xxx represents the number of the GDG that you are recovering.
Regards,
Priyesh. |
|
Back to top |
|
|
radhakrishnan82
Active User
Joined: 31 Mar 2005 Posts: 435 Location: chennai, India
|
|
|
|
I agree with priyesh,vinu |
|
Back to top |
|
|
khaarthikm
New User
Joined: 08 Aug 2005 Posts: 15
|
|
|
|
Hey Vinu,
Hrecall is used to recall the dataset that is migrated and Hrecover is used to get the dataset which is deleted.... |
|
Back to top |
|
|
Purnendu.it
New User
Joined: 11 May 2007 Posts: 57 Location: chennai
|
|
|
|
Hi,
while trying to recover a dataset using hrecover command as shown below
tso hrecover 'v404eed.spf.source'
i am getting the message like
ARC1004I DFSMSHSM NOT ACTIVE - REQUEST 00000003 QUEUED
***
can anyone pls suggest me why its showing like that? |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
the message is self explanatory.
the DFSMShsm request is queued until DFSMShsm is started.
Why are you using a 4 year old thread ?
Gerry |
|
Back to top |
|
|
|