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

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   



RELATED CONTENT
iSeries programming commands
Taking advantage of CL advancements, starting with V5R3
TAATOOL: Useful tools for programmers on IBM i
Date calculation commands for AS/400
Monitoring escape messages and using RCVMSG for diagnostic messages
iSeries application display subfiles with other program windows
Creating a user profile from a file
DSPPGMREF (Display Program Reference)
DSPPGM (Display Program)
DSPFD (Display File Description)
DSPPTF (Display PTF)
iSeries programming commands Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Quiz: iSeries (AS/400) Commands  (Search400.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



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 technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




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