Home > AS/400 News > WRKOBJLCK (Work with Object Locks)
AS/400 News:
EMAIL THIS LICENSING & REPRINTS

WRKOBJLCK (Work with Object Locks)

By Search400.com
01 Aug 2006 | Search400.com

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   

Search400.com members Vince Shank and Syed Arif Ali both said WRKOBJLCK (Work with Object Locks) is one of their favorite commands. This command shows all the locks on an object that you specify. Here are a couple tips to help you use it:

  • Who is using the Document Library Objects?
    Search400.com member Mohammad Hanif explains how using the WRKDLOLCK command you can check to see if there is a lock on the document library object.

  • Command to find out who locked the file
    What do you do when you need to get to a file but you get a message that says someone else is using it? Use the WRKOBJLCK command to determine who has a lock on the file.
  • Quiesce the system
    What is the best way to quiesce the system when doing a SWA of libraries? Search400.com expert Ken Graap says it depends on what libraries you want to save. The method he describes involves using WRKOBJLCK.
  • What object is accessing a user?
    How can you determine what object is accessing a user who is using an ODBC connection? Search400.com expert Shahar Mor says first you need to use
    wrkobjlck 'USSER PROFILE NAME' *usrprf
    to find the job servicing the profile.

>> Return to list of commands.



Tags: iSeries programming commandsVIEW ALL TAGS

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   




iSeries Application Development: CL, COBOL, RPG, VB, ILE, Java
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 1999 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts