96 lines
6.3 KiB
HTML
96 lines
6.3 KiB
HTML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE html
|
||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html lang="en-us" xml:lang="en-us">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="security" content="public" />
|
||
|
<meta name="Robots" content="index,follow" />
|
||
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
||
|
<meta name="DC.Type" content="task" />
|
||
|
<meta name="DC.Title" content="Display the lock states for objects" />
|
||
|
<meta name="abstract" content="You can use the Work with Object Locks (WRKOBJLCK) command or the Work with Job (WRKJOB) command to display the lock states for objects." />
|
||
|
<meta name="description" content="You can use the Work with Object Locks (WRKOBJLCK) command or the Work with Job (WRKJOB) command to display the lock states for objects." />
|
||
|
<meta name="DC.subject" content="DSPJOB (Display Job) command, Display Job (DSPJOB) command, command, CL, DSPJOB (Display Job), Display Job (DSPJOB), job, displaying, WRKOBJLCK (Work with Object Locks) command, Work with Object Locks (WRKOBJLCK) command, WRKOBJLCK (Work with Object Locks), Work with Object Locks (WRKOBJLCK), object lock, working with, working with, object locks" />
|
||
|
<meta name="keywords" content="DSPJOB (Display Job) command, Display Job (DSPJOB) command, command, CL, DSPJOB (Display Job), Display Job (DSPJOB), job, displaying, WRKOBJLCK (Work with Object Locks) command, Work with Object Locks (WRKOBJLCK) command, WRKOBJLCK (Work with Object Locks), Work with Object Locks (WRKOBJLCK), object lock, working with, working with, object locks" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="allor.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../cl/wrkobjlck.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../cl/wrkjob.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="dlsob" />
|
||
|
<meta name="DC.Language" content="en-us" />
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
||
|
<title>Display the lock states for objects</title>
|
||
|
</head>
|
||
|
<body id="dlsob"><a name="dlsob"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Display the lock states for objects</h1>
|
||
|
<div><p>You can use the <span class="cmdname">Work with Object Locks (WRKOBJLCK)</span> command
|
||
|
or the <span class="cmdname">Work with Job (WRKJOB)</span> command to display the lock
|
||
|
states for objects.</p>
|
||
|
<div class="section"> <p>The <span class="cmdname">Work with Object Locks (WRKOBJLCK)</span> command
|
||
|
displays all the lock state requests in the system for a specified object.
|
||
|
It displays both the held locks and the locks being waited for. For a database
|
||
|
file, the <span class="cmdname">Work with Object Locks (WRKOBJLCK)</span> command displays
|
||
|
the locks at the file level (the object level) but not at the record level.
|
||
|
For example, if a database file is open for update, the lock on the file
|
||
|
is displayed, but the lock on any records within the file is not. Locks on
|
||
|
database file members can also be displayed using the <span class="cmdname">Work with Object
|
||
|
Locks (WRKOBJLCK)</span> command.</p>
|
||
|
<p>If you use the <span class="cmdname">Work with
|
||
|
Job (WRKJOB)</span> command, you can select the locks option on the Display
|
||
|
Job menu. This option displays all the lock state requests outstanding for
|
||
|
the specified active job, the locks being held by the job, and the locks for
|
||
|
which the job is waiting. However, if a job is waiting for a database record
|
||
|
lock, this does not appear on the object locks display.</p>
|
||
|
<p>The following
|
||
|
command displays all the lock state requests in the system for the logical
|
||
|
file ORDFILL: </p>
|
||
|
<pre>WRKOBJLCK OBJ(QGPL/ORDFILL) OBJTYPE(*FILE)</pre>
|
||
|
<p>The resulting display is: </p>
|
||
|
<pre class="screen"> Work with Object Locks
|
||
|
|
||
|
System: SYSTEM01
|
||
|
Object: ORDFILL Library: QGPL Type: *FILE-LGL
|
||
|
|
||
|
Type options, press Enter.
|
||
|
4=End job 5=Work with job 8=Work with job locks
|
||
|
|
||
|
Opt Job User Lock Status Scope Thread
|
||
|
_ WORKST04 QSECOFR *SHRRD HELD *JOB
|
||
|
*SHRRD HELD *JOB
|
||
|
*SHRRD HELD *JOB
|
||
|
*SHRRD HELD *JOB
|
||
|
*SHRRD HELD *JOB
|
||
|
*SHRRD HELD *JOB
|
||
|
*SHRRD HELD *JOB
|
||
|
*SHRRD HELD *JOB
|
||
|
*SHRRD HELD *JOB
|
||
|
*SHRRD HELD *JOB
|
||
|
*SHRRD HELD *JOB
|
||
|
*SHRRD HELD *JOB
|
||
|
*SHRRD HELD *JOB
|
||
|
|
||
|
More...
|
||
|
F3=Exit F5=Refresh F6=Work with member locks F12=Cancel
|
||
|
</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="allor.htm" title="Objects are allocated on the system to guarantee integrity and to promote the highest possible degree of concurrency.">Allocate resources</a></div>
|
||
|
</div>
|
||
|
<div class="relinfo"><strong>Related information</strong><br />
|
||
|
<div><a href="../cl/wrkobjlck.htm">Work with Object Locks (WRKOBJLCK) command</a></div>
|
||
|
<div><a href="../cl/wrkjob.htm">Work with Job (WRKJOB) command</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|