WRKOBJLCK (Work with Object Lock) command

 

The Work with Object Lock (WRKOBJLCK) command can be used to display the object lock requests (held locks and pending locks) for DDM files. This command displays only the locks held for the local DDM files, not locks held for the associated remote files.

An iSeries™ server does not display any locks for remote files; locks for the remote file, its members, or its records cannot be displayed by the source server.

The lock condition shown for DDM files is always shared read (*SHRRD) regardless of the lock conditions used for their associated remote files or members.

 

Parent topic:

DDM-related CL command considerations

 

Related reference


Work with Job (WRKJOB) and Work with Object Locks (WRKOBJLCK) commands