ibm-information-center/dist/eclipse/plugins/i5OS.ic.ddp_5.4.0.1/rbal1workjb.htm

85 lines
5.5 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="Work with jobs in a distributed relational database" />
<meta name="abstract" content="The Work with Job (WRKJOB) command presents the Work with Job menu. This menu allows you to select options to work with or to change information related to a specified job. Enter the command without any parameters to get information about the job you are currently using." />
<meta name="description" content="The Work with Job (WRKJOB) command presents the Work with Job menu. This menu allows you to select options to work with or to change information related to a specified job. Enter the command without any parameters to get information about the job you are currently using." />
<meta name="DC.subject" content="administration task, working with jobs, database administration, working with, jobs, command, WRKJOB (Work with Job), Work with Job (WRKJOB), command, CL, WRKJOB (Work with Job), Work with Job (WRKJOB), job, working with" />
<meta name="keywords" content="administration task, working with jobs, database administration, working with, jobs, command, WRKJOB (Work with Job), Work with Job (WRKJOB), command, CL, WRKJOB (Work with Job), Work with Job (WRKJOB), job, working with" />
<meta name="DC.Relation" scheme="URI" content="rbal1rdbactv.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/wrkjob.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal1appnotcomp.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="rbal1workjb" />
<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>Work with jobs in a distributed relational database</title>
</head>
<body id="rbal1workjb"><a name="rbal1workjb"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Work with jobs in a distributed relational database</h1>
<div><p>The <span class="cmdname">Work with Job (WRKJOB)</span> command presents
the Work with Job menu. This menu allows you to select options to work with
or to change information related to a specified job. Enter the command without
any parameters to get information about the job you are currently using.</p>
<div class="section"> <p>Specify a job to get the same information pertaining to it by
entering its name in the command like this:</p>
<pre>WRKJOB JOB(job-number/user-ID/job-name)</pre>
<p>You
can get the information provided by the options on the menu whether the job
is on a job queue, output queue, or active. However, a job is not considered
to be in the server until all of its input has been completely read in. Only
then is an entry placed on the job queue. The options for the job information
are:</p>
<ul><li>Job status attributes</li>
<li>Job definition attributes</li>
<li>Spooled file information</li>
</ul>
<p> Information about the following options can be shown only when the
job is active:</p>
<ul><li>Job run attributes</li>
<li>Job log information</li>
<li>Program stack information</li>
<li>Job lock information</li>
<li>Library list information</li>
<li>Open file information</li>
<li>File override information</li>
<li>Commitment control status</li>
<li>Communications status</li>
<li>Activation groups</li>
<li>Mutexes</li>
</ul>
<p>Option 10 (Display job log) gives you information about an active
job or a job on a job queue. For jobs that have ended you can usually find
the same information by using option 4 (Work with spooled files). This
presents the <span class="cmdname">Work with Spooled Files</span> display, where you
can use option 5 to display the file named QPJOBLOG if it is on the list.
The <span class="cmdname">Work with Job (WRKJOB)</span> command presents the Work with
Job menu.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal1rdbactv.htm" title="You can rely on control language (CL) commands, all of which provide similar information, but in different ways, to give you a view of work on an iSeries server.">Monitor relational database activity</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="../cl/wrkjob.htm">Work with Job (WRKJOB) command</a></div>
<div><a href="rbal1appnotcomp.htm" title="If the request takes longer than expected to complete, the first place to check is at the application requester (AR).">Application does not complete in the expected time</a></div>
</div>
</div>
</body>
</html>