Assuming that OPEN/CLOSE is all that is required, you can do that in batch ISPF using REXX, or CLIST if you're perverse.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of David Cole [[email protected]] Sent: Wednesday, December 21, 2022 5:29 AM To: [email protected] Subject: Re: RLSE - A question about releasing unused tracks in a DASD dataset Thanks Dave. I hadn't thought of that. Unfortunately, this has got to run in the batch (either normally or within batch TSO), so issuing a shortcut command interactively would not work for me. But if I investigate what the F does under the covers, maybe I'll find my solution. Thanks! Dave Cole At 12/21/2022 04:41 AM, Gibney, Dave wrote: >The F line command from ISPF 3.4 > > > > > > -----Original Message----- >> > From: IBM Mainframe Discussion List <[email protected]> On >> > Behalf Of David Cole >> > Sent: Wednesday, December 21, 2022 1:20 AM >> > To: [email protected] >> > Subject: RLSE - A question about releasing unused tracks in a >> DASD dataset >> > >> > [EXTERNAL EMAIL] >> > >> > Is there a way to release unused tracks in a classic z/OS PDS but >> > without having to open and close it? >> > >> > Or if opening/closing is required, is there a way to do that for a >> > PDS without knowing (or discovering) what members are in it, and >> > without creating a new member? >> > >> > Obviously, I could write something, but I don't want to. >> > And I cannot rely on the presence of any program or TSO command that >> > does not come standard on a z/OS system? >> > >> > I don't think there is a way to do this, but I'd love for someone to >> > prove me wrong. >> > >> > >> > David Cole >> > [email protected] (personal) >> > [email protected] (business) >> > 540-456-6518 (cell) >> > >> > ---------------------------------------------------------------------- >> > For IBM-MAIN subscribe / signoff / archive access instructions, >> > send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
