IBM - Determining What Job Has a Lock on an Object in QDLS: "Question: I am trying to rename a document in the QDLS file system and I get an error message indicating the object is in use. The WRKOBJLCK command does not work because the path is /qdls/QADTSCS/COPy2LAN.CMD. This is not a valid object type for the WRKOBJLCK command. How can I find out what job has this document locked?
Answer: Use the DSPDLONAM command. The command format is:
DSPDLONAM DLO(COPY2LAN.CMD) FLR(QADTSCS)
This command displays the System Object Name which can be used in the WRKOBJLCK command. The DSPDLONAM command on qdls/QADTSCS/COPY2LAN.CMD showed the System Object Name was MCDM570442. With this, use the following command to find the job that has the document locked:
WRKOBJLCK OBJ(QDOC/MCDM570442) OBJTYPE(*DOC) "
Tuesday, March 01, 2005
Subscribe to:
Post Comments (Atom)
Popular Posts
- Linux Forum: Apache, Webmin and Mandrake - Linux Operating System Help
- Yahoo! Mail: Revenge of the Oddpost
- Free AS400 & iSeries Software Tools & Utilities Downloads
- Basic Requirements of a JavaServer Faces Application
- UDATE and *DATE in AS400 RPG
- IBM eServer iSeries - The Laughing Boardroom
- AS400 APIs
- The Laughing Boardroom video...a real world example!
- Fast-track your Web apps with Ruby on Rails
- Encrypt Data on as400 (QC3ENCDT, Qc3EncryptData)
No comments:
Post a Comment