Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to Recall a GDG version which is not on DASD

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
abhishek dadhichi

New User


Joined: 19 Apr 2007
Posts: 37
Location: Bangalore

PostPosted: Fri Nov 28, 2008 11:14 am    Post subject: How to Recall a GDG version which is not on DASD
Reply with quote

Hi All,

Please let me know how to recover a GDG version which is currently not on DASD.




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

Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 785
Location: Chennai, India

PostPosted: Fri Nov 28, 2008 11:22 am    Post subject:
Reply with quote

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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Fri Nov 28, 2008 11:25 am    Post subject:
Reply with quote

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
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 785
Location: Chennai, India

PostPosted: Fri Nov 28, 2008 11:27 am    Post subject:
Reply with quote

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
View user's profile Send private message
abhishek dadhichi

New User


Joined: 19 Apr 2007
Posts: 37
Location: Bangalore

PostPosted: Fri Nov 28, 2008 11:28 am    Post subject:
Reply with quote

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
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 785
Location: Chennai, India

PostPosted: Fri Nov 28, 2008 11:31 am    Post subject:
Reply with 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.
Back to top
View user's profile Send private message
abhishek dadhichi

New User


Joined: 19 Apr 2007
Posts: 37
Location: Bangalore

PostPosted: Fri Nov 28, 2008 11:34 am    Post subject:
Reply with quote

Thanks Gnanas..I need to write a job which basically does that.



Thanks,
Abhishek
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Fri Nov 28, 2008 12:22 pm    Post subject: Reply to: How to Recall a GDG version which is not on DASD
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Nov 28, 2008 3:08 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2161
Location: @my desk

PostPosted: Fri Nov 28, 2008 3:10 pm    Post subject:
Reply with quote

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
View user's profile Send private message
abhishek dadhichi

New User


Joined: 19 Apr 2007
Posts: 37
Location: Bangalore

PostPosted: Fri Nov 28, 2008 3:21 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 785
Location: Chennai, India

PostPosted: Fri Nov 28, 2008 3:24 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 785
Location: Chennai, India

PostPosted: Fri Nov 28, 2008 3:27 pm    Post subject:
Reply with quote

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
View user's profile Send private message
abhishek dadhichi

New User


Joined: 19 Apr 2007
Posts: 37
Location: Bangalore

PostPosted: Fri Nov 28, 2008 3:39 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 785
Location: Chennai, India

PostPosted: Fri Nov 28, 2008 3:44 pm    Post subject:
Reply with quote

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 icon_biggrin.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Fri Nov 28, 2008 3:46 pm    Post subject: Reply to: How to Recall a GDG version which is not on DASD
Reply with quote

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 icon_biggrin.gif
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Fri Nov 28, 2008 4:52 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts COBOL Version 6.1 Virendra Shambharkar COBOL Programming 5 Tue Nov 01, 2016 11:24 am
No new posts Is there a time Version of DATEDIFF ? Bill Woodger DFSORT/ICETOOL 1 Wed Aug 17, 2016 7:06 pm
No new posts Syncsort version supporting FINDREP c... juares castro SYNCSORT 9 Tue Aug 09, 2016 6:54 pm
No new posts Faccing issues while creating a GDG V... sravindra_s JCL & VSAM 5 Thu Jun 23, 2016 11:26 am
No new posts Fujitsu Cobol 85 to IBM Cobol (Any ve... umakalikiri COBOL Programming 4 Fri Apr 15, 2016 7:40 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us