MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Recover uncataloged tape dataset to a test dataset

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
Magesh_J
Intermediate


Joined: 21 Jun 2014
Posts: 259
Topics: 54

PostPosted: Tue Sep 02, 2014 3:19 pm    Post subject: Recover uncataloged tape dataset to a test dataset Reply with quote

Hi,

I have a uncataloged tape dataset, and need to restore it to test dataset.

Please advice on any JCL.

The below code will recover but it will not recover to test dataset, i dont have access create prod dataset. Please help .

Code:

//REPROCMD  EXEC PGM=IDCAMS,REGION=3M 
//SYSPRINT  DD SYSOUT=*                         
//SYSOUT    DD SYSOUT=*                         
//SYSIN     DD *                               
 DEFINE NONVSAM -                               
    (NAME(ProdFilename) -     
     DEVICETYPE(CART) -                         
     VOLUME(854403) -                           
     NORECATALOG)                               
/*                                             
//* INPUT FILES                                 

Thanks
Magesh
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12377
Topics: 75
Location: San Jose

PostPosted: Tue Sep 02, 2014 3:48 pm    Post subject: Reply with quote

Magesh_J,

Recover? You do realize that you can have NEWNAME with a HRECOVER command? Check this link which explains about HRECOVER

http://www.mvsforums.com/helpboards/viewtopic.php?p=27866#27866
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Magesh_J
Intermediate


Joined: 21 Jun 2014
Posts: 259
Topics: 54

PostPosted: Wed Sep 03, 2014 1:33 pm    Post subject: Reply with quote

Kolusu,

Thanks, really useful.

regards,
Magesh
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group