> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of gsg > Sent: Thursday, July 12, 2007 8:31 PM > To: IBM-MAIN@BAMA.UA.EDU > Subject: Deleting datasets with invalid names > > > How do you delete a dataset that has a invalid dataset name? > I have one > with a 2lq that has 9 characters? Don't ask me how it got there. > > TIA
//KILLIT EXEC PGM=IEFBR14 //DD1 DD DSN='THIS.ISAREALLY.BAD.DSN', // DISP=(OLD,DELETE), // UNIT=SYSALLDA,VOL=SER=volser How did it get there? I don't know. I do know that pre-SMS, when I wanted to really freak somebody out, I would do: //BADDSN EXEC PGM=IEFBR14 //DD1 DD DSN='This Is A really Weird Name', // DISP=(NEW,KEEP),SPACE=(CYL,0), // UNIT=SYSALLDA,VOL=SER=volser I can't do that anymore on my system because the DATACLAS ACS routine, which is invoked even for nonSMS datasets, looks at the DSN and reports it as "NON STANDARD". But having a upper/lower case DSN with blanks would totally freak out people. I learned it in the 1970s from a DOS/VS shop which had a file name: "WATER MONSTER FILE", believe it or not! -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. ---------------------------------------------------------------------- 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