View previous topic :: View next topic |
Author |
Message |
mf_user Intermediate

Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
Posted: Thu Aug 28, 2008 1:47 am Post subject: Copy single dataset from tape created by ADRDSSU |
|
|
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
Please help.
TIA. _________________ MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
== |
|
Back to top |
|
 |
expat Intermediate

Joined: 01 Mar 2007 Posts: 475 Topics: 9 Location: Welsh Wales
|
Posted: Thu Aug 28, 2008 7:42 am Post subject: |
|
|
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 |
|
 |
mf_user Intermediate

Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
Posted: Thu Aug 28, 2008 8:54 am Post subject: My JCL |
|
|
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 |
|
 |
|
|