View previous topic :: View next topic
|
Author |
Message |
abhishek dadhichi
New User
Joined: 19 Apr 2007 Posts: 37 Location: Bangalore
|
|
|
|
Hi All,
Please let me know how to recover a GDG version which is currently not on DASD.
Thanks,
Abhishek |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
Hi Abhishek,
From subject line,
Quote: |
How to Recall a GDG version which is not on DASD |
From message,
Quote: |
... how to recover a GDG version which is currently not on DASD |
Recall or Recover? |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
are you saying the dataset is migrated ?
if so HRECALL will do it.
If the dataset does not exist at all, you will need to use HRECOVER as long as the dataset has been backed up by HSM or you will need to restore from whatever medium it was backed up to.
If no back up exists, then I'm afraid unless you can rebuild the file, the GDG is lost.
Gerry |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
To recall a migrated dataset,
Code: |
TSO HRECALL 'dataset$name' |
or
To Recover a data set from a backup version if you have back up,
Code: |
TSO HRECOVER 'dataset$name' |
Please check it with storage guys. |
|
Back to top |
|
|
abhishek dadhichi
New User
Joined: 19 Apr 2007 Posts: 37 Location: Bangalore
|
|
|
|
Hi Gnanas,
I mean..I need it on DASD to view that version of GDG.Basically its making that version available to be viewed which is possibly on Tape right now.
Thaks,
Abhishek |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
Again, if that generation is migrated to TAPE, please use HRECALL to move it to DASD.
If that generation was created on TAPE, please use SORT or IEBGENER to copy it to DASD. |
|
Back to top |
|
|
abhishek dadhichi
New User
Joined: 19 Apr 2007 Posts: 37 Location: Bangalore
|
|
|
|
Thanks Gnanas..I need to write a job which basically does that.
Thanks,
Abhishek |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Abhishek,
Quote: |
I need to write a job which basically does that.
|
Search the forum adn you would find working examples for your requirement. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
abhishek dadhichi wrote: |
Thanks Gnanas..I need to write a job which basically does that.
Thanks,
Abhishek |
Why not type HRECALL next to the GENERATION under 3.4 ? |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Quote: |
Again, if that generation is migrated to TAPE, please use HRECALL to move it to DASD.
If that generation was created on TAPE, please use SORT or IEBGENER to copy it to DASD.
|
May be he has got the latter case. |
|
Back to top |
|
|
abhishek dadhichi
New User
Joined: 19 Apr 2007 Posts: 37 Location: Bangalore
|
|
|
|
Hi All,
Sorry for the delay in respose....Actually HRECALL and HRECOVER are not working for me.
I just searched for some JCL in the forum for the same but could not get it.
If anyone is aware of it by any chance ,plz let me know....Thanks..
Thanks,
Abhishek |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
Quote: |
Actually HRECALL and HRECOVER are not working for me. |
I suspect that generation is on TAPE.
Please post error message when you use those commands. |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
Again, I say.
HRECALL is for recalling migrated datasets.
HRECOVER is for recovering dataset from backup version.
Please clarify your things here. |
|
Back to top |
|
|
abhishek dadhichi
New User
Joined: 19 Apr 2007 Posts: 37 Location: Bangalore
|
|
|
|
Hi,
My requirement is to recover a GDG version which is in Tape to DASD.
So,I tried using HRECALL, but it doesn't work....
Thanks,
Abhishek |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
Hi Abhishek,
Here, HRECOVER won't work. It's for recovering deleted datasets.
Please use SORT or IEBGENER or any other copy utility for the same.
Note that if a dataset is migrated to TAPE, you can see its volume as MIGRAT/MIGRAT1. This time only, you can use HRECALL.
I hope everything is clear now |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
GDG management is a murky and painful issue
work closely with Your storage support to avoid troubles
RECALLING does not have any issues , the GDG generations are cataloged considered as existing
and the recall will NOT clobber the generation sequence and LIMIT
RECOVERING is a completely different beast, a careless RECOVERY will certainly disrupt the generation sequence
recover with a rename and evaluate with attention where the recovered dataset should be place in the generation sequence
- I have seen big men cry for a careless HRECOVER |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
my experience with HRECOVER with GDG's is that if does not already reside on DASD, the HRECOVER version will come back as
ARC0770I SMS GDS XXXX.IOA.LOG.BACKUP.G6025V00 RECOVERED AS DEFERRED GDS but personally I would go along with Enrico and recover with a rename.
Gerry |
|
Back to top |
|
|
|