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 

Copy single dataset from tape created by ADRDSSU

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


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Thu Aug 28, 2008 1:47 am    Post subject: Copy single dataset from tape created by ADRDSSU Reply with quote

Hi,

We are using ADRDSSU utility to backup several datasets. It happenned so that a user deleted a dataset so the backup job failed with JCL Error. We want to take that deleted dataset alone from yesterday's tape backup file. How to do it Question

Please help.

TIA.
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
expat
Intermediate


Joined: 01 Mar 2007
Posts: 475
Topics: 9
Location: Welsh Wales

PostPosted: Thu Aug 28, 2008 7:42 am    Post subject: Reply with quote

Use the RESTORE parameter

Just a click away
_________________
If it's true that we are here to help others,
then what exactly are the others here for ?
Back to top
View user's profile Send private message
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Thu Aug 28, 2008 8:54 am    Post subject: My JCL Reply with quote

Hi, Thanks.

I used below JCL and got it done.......

Code:

//XXXXXXX1 JOB (XXXXXX,4XXX),'XX XRX RECOVERY',
//             CLASS=X,                       
//             MSGCLASS=Y,NOTIFY=XXXXXX
//*
//JS010   EXEC PGM=ADRDSSU,                         
//*                                                 
//TAPE      DD DSN=XXXX1.XXXX2.XXXXXXX3.TAPE1(-1),
//             DISP=(SHR,KEEP,KEEP)               
//DISK      DD UNIT=VOL390       
//*                                                           
//SYSPRINT  DD SYSOUT=*                                       
//SYSIN     DD *                           
    RESTORE INDDNAME    (TAPE)        -   
            FORCECP     (0)           -   
            OUTDDNAME   (DISK)        -   
            DATASET (INCLUDE(XXXX1.XX2.XXXXXX3)) -
            CATALOG TGTA(SRC) SHR     -   
            TGTGDS      (ACTIVE)           
/*
//*           


Thanks.
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
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