× 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.



Sorry to be so late to the party.

I'm surprised that Al didn't mention, there is a TAATOOL that could
solve your problem, Convert Object Locks (CVTOBJLCK).  There is also
shareware from QPRA-TOOLS, List Locks With QPRA (LSTLCK)

At one point we had two applications with different SLA's and needed to
back them up separately.  Using these tools we could check the main
library for each application for locks, then send a break message to the
user or end the job as desired.  The best part was that we could exclude
certain users by their User Profile, rather than by device name.  This
allowed us to warn programmers that the backup was starting, yet allow
them to remain signed on while at the same time ending any user jobs.

Let me know if you are interested in seeing the code for this.

Regards,
 
Scott Ingvaldson
iSeries System Administrator
GuideOne Insurance Group

-----Original Message-----
date: Tue, 27 Sep 2005 10:06:59 -0400
from: "Bill Francis" <bill@xxxxxxxxxxxxxxxxxxxxx>
subject: SAVLIB & SAVCHGOBJ ...

We are a 9-5 shop and ages ago I created a CL program with DLYJOB to do
SAVCHGOBJ & SAVLIB at night while nobody should be using programs/files.
However, as the business has grown and more users have been added it's
becoming a problem that users sometimes forget to sign-off and sit in a
program overnight causing certain files to not be saved. Does anyone
know
how I can stop this from happening? 

Since I don't want to maintain a user-id file my initial idea was to
find a
way to output user devices to a file. That way I could use the file to
issue
HLDCMNDEV to suspend any signed on users before the save and then issue
RLSCMNDEV to release the suspended devices after the save thus
eliminating
my problem. 

Is this the best way to make sure my saves complete in full?

How can I get a device list to a usable file because DSPCTLSTS does not
have
a TO *FILE option?

-Bill


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.