Could the PDS be statically included in LNKLSTxx rather than dynamically added?
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Francois desmadrille [[email protected]] Sent: Monday, May 30, 2022 9:05 AM To: [email protected] Subject: Re: data set deletion problem I confirme that the files are NOT in the LINKLST (neither the original files nor the copies) and that the orignal files are NOT cataloged. Only the copies was cataloged and SMS-managed. To unlock a file that have an XCFAS and / or an LLA ENQ, i usually use this method : - LNKLST DEFINE NAME(new list) COPYFROM(active list) - LNKLST DELETE NAME(new list) DSN(file to delete) - LNKLST ACTIVATE NAME(new list) - LNKLST UPDATE,JOB=* - LNKLST UNALLOCATE - LNKLST ALLOCATE and for LLA - REMOVE(file to delete) - MODIFY LLA,UPDATE=xx But this time, this method didn't work. The files was still locked by the XCFAS ENQ, even with an empty linklst and LLA stopped. I didn't understand why. This was my original question : "I don't understand why i can't remove this XCFAS ENQ... Does anyone have an idea please?" Finaly i only deleted the file thanks to the BYPASSNQ program because i was sure that the files i wanted to delete was not really in use. But i still don't know why i can't remove the XCFAS ENQ on the original files. ---------------------------------------------------------------------- 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
