The manual is a mess to find what you are looking for. This the example chapter of RELEASE in the DFdss manual. https://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.adru000/dgt3u2147.htm
to specify a list of datasets, use the FILTERDD parameter //SYSIN DD * RELEASE DS(FILTERDD(FILTD1)) //FILTD1 DD * INCLUDE(DSN1 - DSN2 - DSN3 - DSN4 - DSN5 - DSN6 - DSN7 - DSN8 - DSN9 - ) https://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.adru000/cnsfil.htm Kees. > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Gadi Ben-Avi > Sent: 01 May, 2018 12:22 > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: DFSMSdss Release command > > Hi, > I am trying to create a job that will use the DFSMSdss RELEASE command > to release unused space from a list of datasets. > Can anyone help me? > > Thanks > > Gadi > > ????? ?? ????? ???? ???? ???? ?????? ??? ??? ?????? ???? ????? ??? > ?????? ??????. ?? ????, ???????? ?? ??? ???? ?????, ??????? ???? ???? > ????? ?? ??? ????? ?????? ?? ?????. ????? ????? ???? ?? ?????? ?????? > ?????? ???? ?? ???? ??????? ??? ???, ?/?? ?????, ????? ?? ????? ????? > ????? ????? ?????? ?? ????? ??????? ?/?? ?????? ?? ??????. > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ******************************************************** For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286 ******************************************************** ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN