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

123 lines
8.7 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="concept" />
<meta name="DC.Title" content="Class object" />
<meta name="abstract" content="A class object contains the run attributes that control the run-time environment of a job. IBM-supplied class objects, or classes, meet the needs of both typical interactive and batch applications. The following classes (by name) are supplied with the system:" />
<meta name="description" content="A class object contains the run attributes that control the run-time environment of a job. IBM-supplied class objects, or classes, meet the needs of both typical interactive and batch applications. The following classes (by name) are supplied with the system:" />
<meta name="DC.Relation" scheme="URI" content="rzaksjobcharacter.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakscreateclassobj.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakschgclassobj.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="rzaksaboutjobclassobj" />
<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>Class object</title>
</head>
<body id="rzaksaboutjobclassobj"><a name="rzaksaboutjobclassobj"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Class object</h1>
<div><p>A class object contains the run attributes that control the run-time
environment of a job. IBM-supplied class objects, or classes, meet the needs
of both typical interactive and batch applications. The following classes
(by name) are supplied with the system:</p>
<ul><li>QGPL/QBATCH: For use by batch jobs </li>
<li>QSYS/QCTL: For use by the controlling subsystem </li>
<li>QGPL/QINTER: For use by interactive jobs </li>
<li>QGPL/QPGMR: For use by the programming subsystem </li>
<li>QGPL/QSPL: For use by the spooling subsystem printer writer </li>
<li>QGPL/QSPL2: For general spooling use in the Base system pool </li>
</ul>
<div class="section"><h4 class="sectiontitle">Run-time attributes</h4><p>The following is a list of some
of the run-time attributes, or parameters, that are found in a class object
that are important to work management.</p>
<dl><dt class="dlterm">Run priority (<span class="parmname">RUNPTY</span>)</dt>
<dd>A number that specifies the priority level assigned to all jobs running
that use the class. The priority level is used to determine which job, of
all the jobs competing for system resources, is run next. The value can be
1 through 99, where 1 is the highest priority (all jobs having a 1 priority
are run first). This value is the highest run priority allowed for any thread
within the job. Individual threads within the job may have a lower priority.
Changing the run priority of the job will affect the run priorities of all
threads within the job. For example, if the job is running at priority 10,
thread A within the job is running at priority 10 and thread B within the
job is running at priority 15. If the priority of the job is changed to 20,
then the priority of thread A is adjusted to 20 and the priority of thread
B is adjusted to 25. </dd>
</dl>
<dl><dt class="dlterm">Time slice (<span class="parmname">TIMESLICE</span>)</dt>
<dd>The maximum amount of processor time (in milliseconds) given to each thread
in a job using this class before other threads in a job or other jobs are
given the opportunity to run. The time slice establishes the amount of time
needed by a thread in a job to accomplish a meaningful amount of processing.
At the end of the time slice, the thread might be put in an inactive state
so that other threads can become active in the storage pool. </dd>
</dl>
<dl><dt class="dlterm">Default wait time (<span class="parmname">DFTWAIT</span>)</dt>
<dd>The default amount of time that the system waits for the completion of
an instruction that performs a wait. This wait time applies to times when
an instruction is waiting for a system action, not to the time an instruction
is waiting for a response from a user. Normally, this is the amount of time
you are willing to wait for the system before ending the request. If the wait
time is exceeded, an error message is passed to the job. This default wait
time is used when a wait time is not otherwise specified for a given situation.
<p>The wait time used for allocating file resources is specified in the file
description and can be overridden by an override command. It specifies that
the wait time specified in the class object is used. If file resources are
not available when the file is opened, the system waits for them until the
wait time ends. </p>
<div class="note"><span class="notetitle">Note:</span> The class attributes apply to each routing step
of a job. Most jobs have only one routing step, but if the job is rerouted
(because of something like the Reroute Job (<span class="cmdname">RRTJOB</span>) or
Transfer Job (<span class="cmdname">TFRJOB</span>) command) the class attributes will
be reset.</div>
</dd>
</dl>
<dl><dt class="dlterm">Maximum CPU time (<span class="parmname">CPUTIME</span>)</dt>
<dd>The maximum amount of processor time allowed for a job's routing step
to complete processing. If the job's routing step is not completed in this
amount of time, it is ended, and a message is written to the job log. </dd>
</dl>
<dl><dt class="dlterm">Maximum temporary storage (<span class="parmname">MAXTMPSTG</span>)</dt>
<dd>The maximum amount of temporary storage that can be used by a job's routing
step. This temporary storage is used for the programs that run in the job,
for the system objects used to support the job, and for temporary objects
created by the job. </dd>
</dl>
<dl><dt class="dlterm">Maximum threads (<span class="parmname">MAXTHD</span>)</dt>
<dd>The maximum number of threads in which a job in this class can run at
any time. If multiple threads are initiated simultaneously, this value may
be exceeded. The excess threads will be allowed to run their normal completion.
Initiation of additional threads will be inhibited until the maximum number
of threads in the job drops below this maximum value. <div class="note"><span class="notetitle">Note:</span> The resources
used by the threads and the resources available on the system can vary. Therefore,
the initiation of additional threads may be inhibited before this maximum
value is reached.</div>
</dd>
</dl>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaksjobcharacter.htm" title="Work management provides a way for you to control the work done on your system through a job's attributes. However, before you can control the various aspects of a job, you need to understand the different characteristics of a job.">Job characteristics</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="rzakscreateclassobj.htm" title="You can create a class object by using the character-based interface. The class defines the processing attributes for jobs that use the class. The class used by a job is specified in the subsystem description routing entry used to start the job. If a job consists of multiple routing steps, the class used by each subsequent routing step is specified in the routing entry used to start the routing step.">Create a class object</a></div>
<div><a href="rzakschgclassobj.htm" title="You can change the attributes of a class object by using the character-based interface. Any attribute can be changed, except for the public authority attribute. Refer to the Revoke Object Authority (RVKOBJAUT) command and the Grant Object Authority (GRTOBJAUT) command for more information about changing object authorizations.">Change a class object</a></div>
</div>
</div>
</body>
</html>