Unless I am missing something why not use IEBCOPY with specifying DISP=SHR on the dataset name. I have done this with datasets that were allocated to the LNKLST.
Thanks -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Radoslaw Skorupka Sent: Friday, January 19, 2024 8:18 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ADRDSSU COMPRESS and enq CAUTION! EXTERNAL SENDER! STOP, ASSESS, AND VERIFY Do you know this person? Were you expecting this email? If not, report it using the Report Phishing Button! Gentlemen, First, thank you for your answers. I appreciate it. Regarding TOLENQF - it doesn't work with COMPRESS or CONSOLIDATE. The manual is clear here. Regarding rename - this is the thing I wanted to avoid for several reasons: 1. There is some risk to rename wrong "copy" of the dataset, or alter ICF entries for wrong copy. 2. Valid copies are located on non-SMS disk, but cataloged out of regular catalog search (SYS1.name in some UCAT). Plus some aliases, etc. I want to not destroy it. 3. I don't know how to rename such datasets! Yes, I could imagine access from another z/OS image, but it would be a series of manual ISPF r command. Non-repeatable, error prone. Is there any tool allowing to rename such datasets in batch? Wildcard support (i.e. REN SYS1.* SYS2.*) would be welcome. -- Radoslaw Skorupka Lodz, Poland W dniu 19.01.2024 o 13:27, Radoslaw Skorupka pisze: > I want to compress some system datasets like SYS1.LINKLIB, but *not* > real "live", rather offline copies. > DSS ends with RC8, because of failed serialization. > SETPROG LNKLST,UNALLOCATE will not solve all the enqueues, because > some datasets are serialized by other entities like TSO users. > > And I also want to CONSOLIDATE some datasets as well. > > > Any clue? > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN