|
On the CMDLCK menu, use option 8, WRKOBJLCK. WRKOBJLCK OBJ(LIB/FILE) OBJTYPE(*FILE) MBR(*ALL) The key is the MBR(*ALL) option. This will show you all locks thru all the logicals as well as the physical. Christopher K. Bipes mailto:ChrisB@Cross-Check.com Sr. Programmer/Analyst mailto:Chris_Bipes@Yahoo.com CrossCheck, Inc. http://www.cross-check.com 6119 State Farm Drive Phone: 707 586-0551 x 1102 Rohnert Park CA 94928 Fax: 707 586-1884 If consistency is the hobgoblin of little minds, only geniuses work here. Karen Herbelin - Readers Digest 3/2000 -----Original Message----- From: MacWheel99@aol.com [mailto:MacWheel99@aol.com] Sent: Tuesday, May 23, 2000 11:22 AM To: MIDRANGE-L@midrange.com Subject: OBJ Lock Thanks to help from lots of folks on 7078 RPG problem, I got my program compiled, so now I am testing it & tinkering a bit. Its function is to populate a new file, so on subsequent tests, the first step is to clear the file of records with CLRPFM FILE(HCIF) MBR(HCIF) Basically it would not let me allocate this file until I signed off all other sessions, none of which were accessing that file, just sharing in the SSA group that owns it. HCIF physical file has a bunch of logicals & is owned by SSA group which I am in *PUBLIC has *CHANGE authority & there are no authorization lists access is via unqualified *LIBL I am accustomed to record locks, so I was surprised that none of the options on GO CMDLCK said that anything was locking this file, when the program was hung on LCKW waiting on a lock with CPF 3156 claiming that some other task, that I could not find, had locked it, so I tried to clear it from command line & same story that something had locked it. I was just signed onto a bunch of menus. I tried OVRDBF to the CLRPFM with RCDFMTLCK(*EXCL) & same story I tried ALCOBJ & now it was CPF1002 Consistent story ... OS/400 thinks this file is locked but won't tell me or the master security officer what it is locked by. Apparently I only need to lock it to clear it or re-initialize it ... is there some command that is the opposite of ALCOBJ that I can run from within the CL? Is there some command to display what jobs have what objects allocated, like the stuff on GO CMDLCK does for individual record locks? Al Macintyre ©¿© http://www.cen-elec.com MIS Manager Programmer & Computer Janitor +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.