Check the IDCAMS manuals. This is actually a DFSMS command, not a native TSO command.
Rex -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Farley, Peter x23353 Sent: Monday, September 26, 2016 1:52 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Documentation for TSO DELETE MASK operand? z/OS 2.1 here. In trying the following example DELETE with a MASK operand from a TSO READY prompt, I get the same error no matter whether I use asterisk or double-asterisk as the MASK value. I have not found any documentation of the MASK keyword in the online TSO/E Commands Reference for either z/OS V2.1 or z/OS V2.2, but TSO HELP DELETE yields the description that follows the example below, indicating that MASK is a valid keyword. Where can I RTFM about the MASK operand please? Peter Example DELETE with MASK operand and TSO HELP DELETE: READY DELETE ('TSOUSER.TEST.DATA.*') PURGE MASK IDC3239I INVALID DELETE MASK KEY - '('TSOUSER.TEST.DATA.*') IDC0014I LASTCC=12 READY TSO HELP DELETE Function - The DELETE command is used to delete either VSAM objects or NONVSAM data sets from a VSAM or ICF catalog and to free space occupied by the objects or data sets. Also the free space of VSAM data components can be overwritten with zeros. The DELETE command also deletes GDG bases and VSAM USERCATALOGS. Syntax - DELETE ('entryname/password' ...) CATALOG('catname/password') FILE('dname') PURGE | NOPURGE ERASE | NOERASE SCRATCH | NOSCRATCH FORCE | NOFORCE RECOVERY | NORECOVERY MASK | NOMASK CLUSTER | SPACE | USERCATALOG | ALIAS | GENERATIONDATAGROUP | PAGESPACE | NONVSAM | PATH | ALTERNATEINDEX | TRUENAME | NVR | VVR | VOLUMEENTRY | LIBRARYENTRY . . . MASK - The entryname is a MASK filter used to select a range of catalog entries to be deleted. NOMASK - the entryname is the name of a catalog entry to be deleted. . . . -- This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN The information contained in this message is confidential, protected from disclosure and may be legally privileged. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any disclosure, distribution, copying, or any action taken or action omitted in reliance on it, is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by replying to this message and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN