Hi Ed, I don't think that the FILE Parameter is necessary. Regards, David
On 2019-10-06 16:47, Ed Jaffe wrote: > On 10/5/2019 1:29 AM, Bill Giannelli wrote: >> I am trying to rename a CLIST library allocated to users for ISPF. >> how do I force users to deallocate the dataset so I can rename it? I >> have been sending tso messages but more users keep allocating it. > > In a busy environment, you will never be able to keep up with > canceling all of the jobs and/or users that might be accessing this > file. Like a "Whack-a-Mode" game. Each time you cancel one, another > pops up to take its place. Besides, canceling users is DISRUPTIVE! > > The best way is to rename the data set while holding an exclusive ENQ > on it. Submit this job before you go to sleep and when you wake up the > next morning, the data set should be renamed. > > //RENAME JOB 1,JAFFE,CLASS=A,MSGCLASS=T,NOTIFY=&SYSUID > //RENAME EXEC PGM=IDCAMS > //ENQOLD DD DSN=old.data.set.name,DISP=OLD > //SYSPRINT DD SYSOUT=* > //SYSIN DD * > ALTER old.data.set.name - > NEWNAME(new.data.set.name) - > FILE(ENQOLD) > // > > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN