Ken Leidner wrote:
I have a tape dataset cataloged over 10 years ago with a very strange -
invalid name. I am not sure how it was created, but I would like to
remove it from the catalog. The tape has scratched years ago and I
found this odd dataset name and would like to remove it from the catalog
without having to zap the catalog to change its name first.
Any suggestions?
I have tried;
In TSO a DELETE 'P.FSPOL.SBHF38AA(0)' noscratch
IKJ56709I INVALID DATA SET NAME, 'P.FSPOL.SBHF38AA(0)'
ISMF doesn't even find the dataset, even when looking for a prefix of
the dataset name (like 'P.FSPOL.SB*.**’)
Running IEFBR14 in batch gives
//STEP0 EXEC PGM=IEFBR14
//DD1 DD DSN='P.FSPOL.SBHF38AA(0)',DISP=(OLD,UNCATLG)
IEF212I CJ4130BT STEP0 DD1 - DATA SET NOT FOUND
How did you find the catalog entry in the first place? Is it in the
Master Catalog or some User Catalog?
I think when you use a quoted DSN in JCL, that tells the system it
shouldn't parse the internals of the name at all, so there's probably no
way it could associate a catalog alias to find the entry if it's not in
the Master Catalog. If the entry is in some User Catalog, back in the
old days before STEPCAT was disallowed, a STEPCAT DD could have been
used to point to the correct catalog. But, with STEPCAT unavailable,
try a batch IDCAMS step to uncatalog the dataset with
DELETE P.FSPOL.SBHF38AA(0) NOSCRATCH CAT(usercatname)
(that assumes that IDCAMS doesn't get in the way and attempt to resolve
this dsn as a relative GDG reference).
TSO fails because it always attempts to interpret DSN parentheses as a
PDS member reference and the member name is invalid. The ISMF failure
to find anything suggests that either "P" or "P.FSPOL" is either not set
up as a catalog alias (and the dsn is not in the master catalog), or it
is set up as an alias that points to a different USERCAT than the one
with the bogus entry, or perhaps ISMF does find the entry and just can't
deal with the non-standard name. The IEFBR14 failure suggests that the
entry is not in the Master Catalog.
--
Joel C. Ewing, Fort Smith, AR [EMAIL PROTECTED]
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html