View previous topic :: View next topic
|
Author |
Message |
shammiullah
New User
Joined: 13 Jun 2005 Posts: 24
|
|
|
|
hi guyz,
1.how to recover a dataset thatz been deleted.
2.how to recover a gdg generation that has been uncataloged.take it as i've given empty scratch and the limit is 5.so if i'm creating 1 more generation all the old 5 will b lost.how to retrieve that.
3.my jcl has 1 step.if i give cond parameter for the 1st step return code of which step will b taken.
thanx |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
HI,
Quote: |
1.how to recover a dataset thatz been deleted. |
Your Admin can recove teh dataset if he has backup of that dataset.
Quote: |
2.how to recover a gdg generation that has been uncataloged.take it as i've given empty scratch and the limit is 5.so if i'm creating 1 more generation all the old 5 will b lost.how to retrieve that. |
The GDG can be recove at perticular extend by HRECOVER command.
Hope this helps
Regards
Rupesh |
|
Back to top |
|
|
vinodmaanju
New User
Joined: 10 May 2005 Posts: 28 Location: Pune
|
|
|
|
HI RUPESH,
Can u explain HRECOVER command thru example.
thanks
vinod |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
Hi Vinod,
Quote: |
Can u explain HRECOVER command thru example |
As mentioned Shammiullah, that how to recover a gdg generation that has been uncataloged.take it as i've given empty scratch and the limit is 5.so if i'm creating 1 more generation all the old 5 will b lost.how to retrieve that. Takin this is a n exaple,
Suppose your last GDG name isn Rupesh.G0005V00 with limit 5 andnow you creat a 6 generation. so 1 generation lost. In that case you can use Hrecover command as follows.
Go to option 6 (
And give following command.
Code: |
HRECOVER Rupesh.G0001V00' NEWNAME('Rupesh.G0001v00.Old') |
In this way you can recover your old GDG.
Hope it is clear now.
Regards
Rupesh |
|
Back to top |
|
|
vikasc4
New User
Joined: 11 Dec 2005 Posts: 32
|
|
|
|
hi,
Quote: |
Q3. my jcl has 1 step.if i give cond parameter for the 1st step return code of which step will b taken. |
Ans. Cond parametre is ignored when used at first step in the job. The only exception is COND = ONLY , this will bypass the step if it is coded at the first step.
Regards
Vikas
|
|
Back to top |
|
|
vinodmaanju
New User
Joined: 10 May 2005 Posts: 28 Location: Pune
|
|
|
|
Thanks Rupesh
I'll check it. |
|
Back to top |
|
|
iknow
Active User
Joined: 22 Aug 2005 Posts: 411 Location: Colarado, US
|
|
|
|
Hi,
Search the forum. Your first query has already been discussed.
I had provided the JCL for recovering the DS.
Let me know in case of any concerns. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi,
As Rupesh has mentioned you can reestablish your DS if it was backed up. You'll notice I didn't say "recover" because I didn't want to confuse this case w/HRECOVER.
HRECOVER is used for MIGRATED not DELETED datasets. Which leads me to the GDG ques. Since the GDG was created w/SCRATCH EMPTY all 5 of the previously created DS are gone, goodbye, kaput, DELETED. As the manual says, "they cease to exist". No room for misinterpretation there. You can't get them back unless they were backed up.
Actually there IS a 2nd way to get them back, but it's a bit impractical. If the DA space used by the file has not been reallocated, a sysprog can create a format4 (I think it's 4) DSCB to point to that data area, thereby "recreating" the file.
I say it's impractical because the activity in today's systems would almost guarantee that the space would be used before the sysprog could do his thing. |
|
Back to top |
|
|
|