RE: Basic question on deleting datasets



Don gets the big THANK YOU! REPLACEUNCONDITIONAL is not documented in
the DSS reference manual but it does just what I need. Hmm,
undocumented features. I thought only M$ did that ;-)

As for the others, thanks for the replies. Unfortunately I forgot to
make part of my request clear. There are about 20 packs we need to do
this with and we are trying to get this set up so the operators can run
it (or schedule it to run automatically) without intervention.


Rex

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@xxxxxxxxxxxx
Behalf Of Imbriale, Donald (Exchange)
Sent: Monday, January 30, 2006 2:11 PM
To: IBM-MAIN@xxxxxxxxxxx
Subject: Re: Basic question on deleting datasets


In your DSS copy job, use REPLACEUNCONDITIONAL.

Don Imbriale

>-----Original Message-----
>From: IBM Mainframe Discussion List [mailto:IBM-MAIN@xxxxxxxxxxxx
Behalf
>Of Pommier, Rex R.
>Sent: Monday, January 30, 2006 2:50 PM
>To: IBM-MAIN@xxxxxxxxxxx
>Subject: Basic question on deleting datasets
>
>Hi.
>
>I'm afraid I'm in a "can't see the forest because of the trees"
>situation which probably has a very easy answer that I can't see.
>
>I have a disk pack that I need to get a large subset of the datasets
off
>it as well as uncataloged. Is there some way using IDCAMS or DFSMSdss
>to accomplish this using wildcards so I don't have to list each dataset

>separately? IDCAMS apparently only allows me to use a single-qualifier

>wildcard which won't do it.
>
>Unless somebody has a better idea as how to proceed here. The
situation
>is that we have a training system here that is a clone of our
>production. On a semi-regular basis we are requested to refresh the
>training system. The process is to delete the training system datasets

>then use DFSMSdss COPY to copy the datasets from production to
training.
>I have tried just using DFSMSdss COPY with REPlace but apparently the
>REPlace parameter of DSS COPY doesn't work with the RENameUnconditional

>because DSS complains about the output datasets already being there.
>
>I don't want to have to list all the datasets individually in IDCAMS
>DELETE statements because that will be a maintenance nightmare.
>
>Environment is z/OS 1.4.
>
>What am I missing?
>
>Rex


***********************************************************************
Bear Stearns is not responsible for any recommendation, solicitation,
offer or agreement or any information about any transaction, customer
account or account activity contained in this communication.
***********************************************************************

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send
email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO Search
the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.



Relevant Pages

  • RE: Basic question on deleting datasets
    ... this one hits uncatalogued datasets on a particular volume that are more ... > the training system. ... For IBM-MAIN subscribe / signoff / archive access instructions, ... email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO Search ...
    (bit.listserv.ibm-main)
  • Re: Move SeverPac Datasets How to
    ... dss issues a QUIESCE for an open filesystem. ... Otherwise, if the HFS is mounted R/W, you almost certainly ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • ghost dataset from non-existent catalog on work volume
    ... work volume that I am processing with dss and it keeps ... MEGASTAT.GRDA21A.SYS991 IN CATALOG SYS1.REGISCAT ON VOLUME WORK01 ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • IEBGENER and SDB
    ... DSS writes blocks up to 64K (even ... IEBGENER copies of the dumps. ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: Best way to clean up NOT Cat datasets in SMS
    ... If you have DSS, you can run the following to find datasets that are not ... I've used this for SMS and non-SMS volumes. ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)