What about to rename the Dataset and create a new one with the same characteristics (model).
2009/7/7 Chris Hoelscher <choelsc...@humana.com> > her eis an alternative we developer years ago (not the best but it works) > > > step 1 - IEHLIST - to punch a list of member names > step 2 - report writer to remove unwanted lines from output and format for > next step > step 3 - IEHPROGM - to delete member by member > step4 - IEBCOPY to itself to free up directory entries > > > > Chris Hoelscher > Senior IDMS & DB2 Database Administrator > Humana Inc > 502-476-2538 > choelsc...@humana.com > > you only need to test the programs that you want to work correctly > > > > > > > From: > CUNY Yann <yc...@externe.generali.fr> > To: > IBM-MAIN@bama.ua.edu > Date: > 07/07/2009 06:09 > Subject: > [IBM-MAIN] Delete all members of a PDS with JCL > Sent by: > IBM Mainframe Discussion List <IBM-MAIN@bama.ua.edu> > > > > Hi all, > > > > I would like to delete all members of a PDS with JCL but I don't want to > specify the members names. (The job will be submitted every day : I don't > know the members names and how much members are in this PDS). > > > > I don't want to use REXX even if it's easier. > > > > Regards. > > > > Cordialement, > > > > Yann Cuny > > Groupe GENERALI > > Industrialisation et Gestion des Environnements > > * 01 58 34 12 64 > > * yc...@externe.generali.fr > > P Pensez « environnement », n'imprimez ce mail que si cela est > nécessaire... > > > > > > > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html > > > > The information transmitted is intended only for the person or entity to > which it is addressed and may contain CONFIDENTIAL material. If you receive > this material/information in error, please contact the sender and delete or > destroy the material/information. > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html