ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaks_5.4.0.1/rzaksthreadrununderjob.htm

69 lines
5.1 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<?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="View threads running under a specific job" />
<meta name="abstract" content="Every active job running on an iSeries system has at least one thread running under it. A thread is an independent unit of work running within a job that uses the same resources as the job. Because a job depends on the work done by a thread, it is important to know how to find the threads running within a specific job." />
<meta name="description" content="Every active job running on an iSeries system has at least one thread running under it. A thread is an independent unit of work running within a job that uses the same resources as the job. Because a job depends on the work done by a thread, it is important to know how to find the threads running within a specific job." />
<meta name="DC.Relation" scheme="URI" content="rzaksmanagethreads.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaksthreadstructure.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzahw/rzahwendco.htm" />
<meta name="DC.Relation" scheme="URI" content="../apis/users_g4.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2004-2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004-2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzaksthreadrununderjob" />
<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>View threads running under a specific job</title>
</head>
<body id="rzaksthreadrununderjob"><a name="rzaksthreadrununderjob"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">View threads running under a specific job</h1>
<div><p>Every active job running on an iSeries™ system has at least one thread
running under it. A thread is an independent unit of work running within a
job that uses the same resources as the job. Because a job depends on the
work done by a thread, it is important to know how to find the threads running
within a specific job.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaksmanagethreads.htm" title="There are many tasks that you can do when managing threads.">Manage threads</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rzaksthreadstructure.htm" title="The term thread is shorthand for &#34;thread of control&#34;. A thread is the path taken by a program while running, the steps performed, and the order in which the steps are performed. A thread runs code from its starting location in an ordered, predefined sequence for a given set of inputs.">Threads</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../rzahw/rzahwendco.htm">Example: End a thread using Java</a></div>
<div><a href="../apis/users_g4.htm">Thread management APIs</a></div>
</div>
</div><div class="nested1" xml:lang="en-us" id="navthreadrununderjob"><a name="navthreadrununderjob"><!-- --></a><h2 class="topictitle2">iSeries Navigator</h2>
<div><div class="section">To view threads running under a specific job, do the following:</div>
<ol><li><span>In iSeries Navigator,
expand <span class="menucascade"><span class="uicontrol">My Connections</span> &gt; <span class="uicontrol">server</span> &gt; <span class="uicontrol">Work Management</span> &gt; <span class="uicontrol">Active Jobs</span></span>.</span></li>
<li><span>Right-click the job with which you want to work, and click <span class="menucascade"><span class="uicontrol">Details</span> &gt; <span class="uicontrol">Threads</span></span>.</span></li>
</ol>
</div>
</div>
<div class="nested1" xml:lang="en-us" id="cbirzaksthreadrununderjob"><a name="cbirzaksthreadrununderjob"><!-- --></a><h2 class="topictitle2">Character-based interface</h2>
<div><div class="section"><strong>Command</strong>: Work With Job (<span class="cmdname">WRKJOB</span>) </div>
<div class="example"><strong>Example</strong>: The following example displays the Work With Threads
screen for the job Crtpfrdta. <blockquote><pre>WRKJOB JOB(Crtpfrdta) OPTION(*THREAD)</pre>
</blockquote>
</div>
</div>
</div>
</body>
</html>