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






Getting rid of the locks is easy--you just end the subsytem that they're
running in!  It's a bit drastic I know but you didn't specify the
conditions at the time you wanted to kill the lock or how badly you wanted
it to be killed.  If this is the case of a backup I would recommend
save-while-active.  Al Barsa is the guru of SWA.  We started using it last
fall and it's knocked a coulple hours off of our down time for a backup.
We boot everybody off, get the system to a (semi-)restricted state,
initiate the save, and once a checkpoint has been achieved you can let them
back on.  The system handles backing up any objects that get changed to
their status as of the checkpoint time.


Dave Parnin
Nishikawa Standard Company
Topeka, IN  46571
daparnin@xxxxxxxxxxxxxxxxxx




                                                                                
                                 
                      "Condon, Mike"                                            
                                 
                      <M1C@xxxxxxxxxxxxxxx        To:       Midrange Systems 
Technical Discussion                
                      om>                          
<midrange-l@xxxxxxxxxxxx>@SMTP@CTB                            
                      Sent by:                    cc:       (bcc: David A 
Parnin/Topeka/NISCO/SPCO)              
                      midrange-l-bounces@m        Subject:  Break Object Locks  
                                 
                      idrange.com                                               
                                 
                                                                                
                                 
                                                                                
                                 
                      08/06/2004 11:12 AM                                       
                                 
                      Please respond to                                         
                                 
                      Midrange Systems                                          
                                 
                      Technical Discussion                                      
                                 
                      <midrange-l@midrange                                      
                                 
                      .com>                                                     
                                 
                                                                                
                                 
                                                                                
                                 



I have resumed this again after getting dragged into several other, um,
things. See below.

I have looked at the obvious wrkobjlck in a CL program, but use of it to
get
the jobs & end them in a CL program was not too obvious. What methods do
you
all use to accomplish this?

Original Question:
>>
Is there a way to break all object locks on a file? This would be used in
batch jobs (CL) before an update program (RPG) or perhaps a backup is run.

Reply:
>>
End all the jobs that have a lock on the file.  Do it all the time in our
backups.

Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



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.