1) I am not sure &ACSENVIR is recover. IIRC, this is related to dfHSM and like
prodiucts, not ADRDSSU restore.
2) It is not clear if the target environment is SMS managed or not.
You can supply (STORCLAS, DATACLAS, MGMTCLAS) and override the ACS
routines with BYPASSACS(**)
-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
Shelia Chalk
Sent: Wednesday, March 25, 2020 9:52 AM
To: [email protected]
Subject: adrdssu utility
[CAUTION: This Email is from outside the Organization. Do not click links or
open attachments unless you trust the sender.]
has anyone ever use adrdssu utility to restore a dataset from tape and rename
then dataset. here is my problem see jcl below
I am trying to use the sms routines. I want the renameu dataset q2vo.slc.***
to go to a different volume then the include dataset. in the sms routines I
have in the &fist I have in the filtlist the q2vo.** dataset..
IF ((&ACSENVIR EQ 'RECOVER') AND (&HLQ EQ '&FIST'))
THEN
DO
SET &STORCLAS = 'FIST'
EXIT
END
JCL I AM RUNNING
//D2REST EXEC PGM=ADRDSSU,REGION=8M
//SYSPRINT DD SYSOUT=*
//OUTDD DD UNIT=SYSDA,DISP=(NEW,CATLG,CATLG)
//INDD DD DSN=Q2SC.GN.GN.P010.GNTAPE.Q2BKUP(0),
// DISP=SHR
//DUMMY DD DUMMY
//SYSIN DD *
RESTORE INDD(INDD) OUTDD(OUTDD) -
DATASET( -
INCLUDE(-
Q2VO.GN.GN.P010.GNCDE.V -
) -
) -
RENAMEU((Q2VO.GN.GN.P010.GNCDE.V -
Q2VO.SLC.** )) -
CANCELERROR -
CATALOG -
TGTGDS(ACTIVE) -
REPLACE -
SHR SPHERE
any ideas???
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to
[email protected] with the message: INFO IBM-MAIN
::DISCLAIMER::
________________________________
The contents of this e-mail and any attachment(s) are confidential and intended
for the named recipient(s) only. E-mail transmission is not guaranteed to be
secure or error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or may contain viruses in transmission.
The e mail and its contents (with or without referred errors) shall therefore
not attach any liability on the originator or HCL or its affiliates. Views or
opinions, if any, presented in this email are solely those of the author and
may not necessarily reflect the views or opinions of HCL or its affiliates. Any
form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written
consent of authorized representative of HCL is strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. Before opening any email and/or attachments, please check them for
viruses and other defects.
________________________________
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN