× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



For us, access paths as a result of an embedded SQL program accessing the file is the cause for many locks on a file. There is an extra hidden parm in ALCOBJ which requests that these temporary locks be dropped by all jobs. I run it sometimes to see if there are any real locks on a file when I need exclusive access to it.

Maybe something like this:
ALCOBJ OBJ((FILNAM *FILE *EXCL)) CONFLICT(*RQSRLS)



-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Jeff Crosby
Sent: Thursday, May 23, 2019 11:49 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Log everything for a user

I've got a user who, on Sundays nights only, gets a lock on a particular file in his interactive job that does not get released. Later in his shift it causes an issue for a job he submits that needs exclusive access to that file. I can't figure out where that lock is coming from and not being released. He doesn't do anything different on Sunday than the rest of the week, yet this only happens on Sunday.

I want to capture the joblog from his interactive job. I changed his initial program to include a LOG(4 00 *SECLVL) LOGCLPGM(*YES) on him to capture what he's doing.

However, if he does a SIGNOFF *NOLIST I won't get the job log anyway. He signs off via menu option, but it could be one of several menus. So I either change the option on any menu he could sign off from, or I change the default on the SIGNOFF command for this weekend.

Some other easy way I haven't thought of?

Thanks.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.