we have run into may situations where when we are upgrading to a new release of a product (say IDMS or DB2) - we warn all users that ad-hoc jobs that access the runtime-loadlibs will mis-behave during the upgrade additionally - many jobs have JCL included for libraries they simply don;t need
however - many dont listen and submit jobs anyhow - we chose not to take the time to cancel these jobs so we can rename or delete - we just empty the PDS and then re-load with the newer contents! Chris Hoelscher Senior IDMS & DB2 Database Administrator Humana Inc 502-476-2538 [email protected] you only need to test the programs that you want to work correctly From: carlos roberto visconde <[email protected]> To: [email protected] Date: 07/07/2009 13:45 Subject: Re: [IBM-MAIN] Delete all members of a PDS with JCL Sent by: IBM Mainframe Discussion List <[email protected]> What about to rename the Dataset and create a new one with the same characteristics (model). 2009/7/7 Chris Hoelscher <[email protected]> > 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 > [email protected] > > you only need to test the programs that you want to work correctly > > > > > > > From: > CUNY Yann <[email protected]> > To: > [email protected] > Date: > 07/07/2009 06:09 > Subject: > [IBM-MAIN] Delete all members of a PDS with JCL > Sent by: > IBM Mainframe Discussion List <[email protected]> > > > > 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 > > * [email protected] > > P Pensez « environnement », n'imprimez ce mail que si cela est > nécessaire... > > > > > > > > > ---------------------------------------------------------------------- > 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 > > > > 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 [email protected] 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 [email protected] 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 [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

