Author:
Alan Playford
Subject: Cannot change DATACLAS on DFSMSdss restore
Posted: Tue May 01, 2018 6:43 pm (GMT 5.5)
Guys,
We have a DFSMSdss dumped dataset transferred from a Customer.
This contains several datasets, but one is giving problems on RESTORE.
DFSMSdss job and parameters:
//STEP0100 EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//DFDSS DD DISP=OLD,DSN=dfsmsdss.dumped.dataset
//SYSIN DD *
RESTORE INDDNAME(DFDSS)
DATASET(INCLUDE(**.oldllq))
RENUNC (newhlq)
NULLMGMTCLAS
IMPORT
CATALOG
Restore says:
ADR780I (001)-TDDS (01), THE INPUT DUMP DATA SET BEING PROCESSED IS IN LOGICAL DATA SET FORMAT AND WAS CREATED BY Z/OS DFSMSDSS
VERSION 2 RELEASE 1 MODIFICATION LEVEL 0 ON 2018.088 17:22:07
ADR711I (001)-NEWDS(01), DATA SET dumped.dataset.llq HAS BEEN ALLOCATED WITH NEWNAME
newhlq.dataset.llq USING STORCLAS EXTENDED, DATACLAS PSEXTCZ, AND NO MGMTCLAS
ADR474I (001)-TDNVS(01), DATA SET newhlq.dataset.llq CONSISTS OF 00060870 TARGET TRACKS AND 00060105 SOURCE TRACKS
ADR908E (001)-SDMXI(01), RESTORE OF EXTENDED SEQUENTIAL DATA SET newhlq.dataset.llq FAILED
ADR910E (001)-SDMXI(01), AN ERROR WAS ENCOUNTERED DURING DATA MOVEMENT PROCESSING. RETURN CODE = 500005E3, REASON CODE = 00040010
ADR415W (001)-TDLOG(01), NO DATA SETS WERE COPIED, DUMPED, OR RESTORED FROM ANY VOLUME
ADR480W (001)-TDLOG(01), THE FOLLOWING DATA SETS WERE NOT PROCESSED FROM THE LOGICALLY FORMATTED DUMP TAPE DUE TO ERRORS:
oldhlq.dataset.llq
Now, the NULLMGMTCLAS has worked, and the ACS routines have been checked especially for DATACLAS. In this case, it's an extended format dataset that was dumped, and so the DC should be EXTENDED, SC should be extended, and that results in SG of some SMS volumes accordingly (EXT datasets HAVE to be SMS-managed).
However, as you can see, the DC hasn't been changed here?
It gets changed (with messages to verify) if you do a straight ALLOCATE of the dataset, or if you test it in ISMF.
So how do I get this external site's DC of PSEXTCZ to be modified on a DFSMSdss restore?
You can't override it, but because its extended format, it must go to an SMS volume, so at least needs the SC setting up (that's OK, by the way).
Anybody else in the habit of restoring externally-dumped datasets with SMS characteristics?
If so, how do you change the Dataclas upon DFSMSdss restore?
_________________
Alan Playford