ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/chgpje.htm

773 lines
29 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Change Prestart Job Entry (CHGPJE)</title>
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body bgcolor="white">
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<a name="CHGPJE.Top_Of_Page"></a>
<h2>Change Prestart Job Entry (CHGPJE)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
<b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#CHGPJE.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CHGPJE.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CHGPJE.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CHGPJE"></a>
<p>The Change Prestart Job Entry (CHGPJE) command changes a prestart job entry in the specified subsystem description.
</p>
<p>The subsystem may be active when the prestart job entry is changed. Changes made to the entry when the subsystem is active are reflected over time. Any new prestart jobs started after the command is issued use the new job-related values. This command identifies prestart jobs that are started when the subsystem is started or when the Start Prestart Jobs (STRPJ) command is issued.
</p>
<p><b>Notes:</b>
</p>
<ol>
<li>The job associated with an active subsystem can only find objects that exist in the system auxiliary storage pool (ASP) or in a basic user ASP. Therefore, objects that are referenced by this command should exist in the system ASP or in a basic user ASP.
</li>
</ol>
<p><b>Restrictions:</b>
</p>
<ol>
<li>To use this command, you must have:
<ul>
<li>object operational (*OBJOPR), object management (*OBJMGT), and read (*READ) authority to the specified subsystem description and execute (*EXECUTE) authority to the library containing that subsystem description.
</li>
<li>object operational (*OBJOPR) and read (*READ) authority to the job description and execute (*EXECUTE) authority to the library containing that job description.
</li>
<li>use (*USE) authority to the user profile.
</li>
</ul>
</li>
<li>Only a user with all object (*ALLOBJ) special authority is allowed to change an entry for which the job description does not exist.
</li>
</ol>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPJE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CHGPJE.PARAMETERS.TABLE">Parameters</a></h3>
<table border="1" cellpadding="4" cellspacing="0">
<!-- col1="10" col2="15" col3="30" col4="10" -->
<tr>
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CHGPJE.SBSD"><b>SBSD</b></a></td>
<td valign="top">Subsystem description</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Required, Positional 1</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Subsystem description</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top" rowspan="3"><a href="#CHGPJE.PGM"><b>PGM</b></a></td>
<td valign="top">Program</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Required, Positional 2</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Program</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top"><a href="#CHGPJE.USER"><b>USER</b></a></td>
<td valign="top">User profile</td>
<td valign="top"><i>Name</i>, <b><u>*SAME</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGPJE.STRJOBS"><b>STRJOBS</b></a></td>
<td valign="top">Start jobs</td>
<td valign="top"><b><u>*SAME</u></b>, *YES, *NO</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGPJE.INLJOBS"><b>INLJOBS</b></a></td>
<td valign="top">Initial number of jobs</td>
<td valign="top">1-9999, <b><u>*SAME</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGPJE.THRESHOLD"><b>THRESHOLD</b></a></td>
<td valign="top">Threshold</td>
<td valign="top">1-9999, <b><u>*SAME</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGPJE.ADLJOBS"><b>ADLJOBS</b></a></td>
<td valign="top">Additional number of jobs</td>
<td valign="top">0-999, <b><u>*SAME</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGPJE.MAXJOBS"><b>MAXJOBS</b></a></td>
<td valign="top">Maximum number of jobs</td>
<td valign="top">1-9999, <b><u>*SAME</u></b>, *NOMAX</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGPJE.JOB"><b>JOB</b></a></td>
<td valign="top">Job name</td>
<td valign="top"><i>Name</i>, <b><u>*SAME</u></b>, *PGM</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CHGPJE.JOBD"><b>JOBD</b></a></td>
<td valign="top">Job description</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *USRPRF, *SBSD<br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Job description</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top"><a href="#CHGPJE.MAXUSE"><b>MAXUSE</b></a></td>
<td valign="top">Maximum number of uses</td>
<td valign="top">1-1000, <b><u>*SAME</u></b>, *NOMAX</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGPJE.WAIT"><b>WAIT</b></a></td>
<td valign="top">Wait for job</td>
<td valign="top"><b><u>*SAME</u></b>, *YES, *NO</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGPJE.POOLID"><b>POOLID</b></a></td>
<td valign="top">Pool identifier</td>
<td valign="top">1-10, <b><u>*SAME</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="9"><a href="#CHGPJE.CLS"><b>CLS</b></a></td>
<td valign="top">Class</td>
<td valign="top"><i>Element list</i></td>
<td valign="top" rowspan="9">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Class</td>
<td valign="top">
Single values: <b><u>*SAME</u></b>, *SBSD<br>Other values: <i>Qualified object name</i></td>
</tr>
<tr>
<td valign="top" style="padding-left:10pt">Qualifier 1: Class</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top" style="padding-left:10pt">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top">Element 2: Number of jobs to use class</td>
<td valign="top">
0-32766, <b><u>*SAME</u></b>, *CALC, *MAXJOBS</td>
</tr>
<tr>
<td valign="top">Element 3: Class</td>
<td valign="top">
Single values: <b><u>*SAME</u></b>, *NONE, *SBSD<br>Other values: <i>Qualified object name</i></td>
</tr>
<tr>
<td valign="top" style="padding-left:10pt">Qualifier 1: Class</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top" style="padding-left:10pt">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top">Element 4: Number of jobs to use class</td>
<td valign="top">
0-32766, <b><u>*SAME</u></b>, *CALC, *MAXJOBS</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CHGPJE.THDRSCAFN"><b>THDRSCAFN</b></a></td>
<td valign="top">Thread resources affinity</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *SYSVAL<br>Other values: <i>Element list</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Group</td>
<td valign="top">
*NOGROUP, *GROUP</td>
</tr>
<tr>
<td valign="top">Element 2: Level</td>
<td valign="top">
*NORMAL, *HIGH</td>
</tr>
<tr>
<td valign="top"><a href="#CHGPJE.RSCAFNGRP"><b>RSCAFNGRP</b></a></td>
<td valign="top">Resources affinity group</td>
<td valign="top"><b><u>*SAME</u></b>, *NO, *YES</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CHGPJE.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CHGPJE.SBSD"></a>
<h3>Subsystem description (SBSD)</h3>
<p>Specifies the name and library of the subsystem description that contains the prestart job entry being changed.
</p>
<p>This is a required parameter.
</p>
<p><b>Qualifier 1: Subsystem description</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the subsystem description of the prestart job entry that is being changed.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the thread's library list are searched until a match is found.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the thread is used to locate the object. If no library is specified as the current library for the thread, the QGPL library is used.
</dd>
</dl>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the subsystem description's library of the prestart job entry that is being changed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPJE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPJE.PGM"></a>
<h3>Program (PGM)</h3>
<p>Specifies the name and library of the program that identifies the prestart job entry that is changed. This program name is used to match an incoming request with an available prestart job. Two entries with the same program name can exist in a single subsystem description, but they must have different library names. If the program does not exist when the entry is added, a library qualifier must be specified because the qualified name is kept in the subsystem description.
</p>
<p>This is a required parameter.
</p>
<p><b>Qualifier 1: Program</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the program run by the prestart job.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the thread's library list are searched until a match is found.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the thread is used to locate the object. If no library is specified as the current library for the thread, the QGPL library is used.
</dd>
</dl>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the library of the program to be run by the prestart job.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPJE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPJE.USER"></a>
<h3>User profile (USER)</h3>
<p>Specifies the user profile under which the prestart job is initiated. In addition, the current user profile of hte prestart job is set to this user whenever the job waits for a request to handle.
</p>
<p>
<b>Note: </b>When a prestart job is given a request to handle, the current user profile of the job is updated. Refer to the Work Management guide for information on how this profile is determined. This change in current user profile is for authority checking only. None of the other attributes of the user profile, such as the current library (CURLIB) or the initial program to call (INLPGM), are given to the prestart job.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value of this parameter does not change.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the user profile used for the prestart job.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPJE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPJE.STRJOBS"></a>
<h3>Start jobs (STRJOBS)</h3>
<p>Specifies whether the prestart jobs are started at the time the subsystem is started.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The start prestart jobs value does not change.
</dd>
<dt><b>*YES</b></dt>
<dd>The prestart jobs are started at the time the subsystem is started.
</dd>
<dt><b>*NO</b></dt>
<dd>The prestart jobs are not started at the time the subsystem is started. The Start Prestart Jobs (STRPJ) command is used to start these prestart jobs.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPJE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPJE.INLJOBS"></a>
<h3>Initial number of jobs (INLJOBS)</h3>
<p>Specifies the initial number of prestart jobs that are started when the subsystem specified on the <b>Subsystem description (SBSD)</b> parameter is started.
</p>
<p><b>Notes.</b>
</p>
<ol>
<li>The value specified on this parameter must be less than or equal to the value specified on the <b>Maximum number of jobs (MAXJOBS)</b> parameter.
</li>
<li>The value specified on this parameter must be greater than or equal to the value specified on the <b>Threshold (THRESHOLD)</b> parameter.
</li>
</ol>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The number of prestart jobs that are started when the subsystem is started does not change.
</dd>
<dt><b><i>1-9999</i></b></dt>
<dd>Specify the number of prestart jobs that are started when the subsystem is started. Valid values range from 1 through 9999.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPJE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPJE.THRESHOLD"></a>
<h3>Threshold (THRESHOLD)</h3>
<p>Specifies when additional prestart jobs are started. When the pool of available jobs (jobs available to service a requests) is reduced below this number, more jobs (specified on the <b>Additional number of jobs (ADLJOBS)</b> parameter) are started and added to the available pool. This number is checked after a prestart job is attached to a procedure start request.
</p>
<p>
<b>Note: </b>The value specified on this parameter must be less than or equal to the value specified on the <b>Initial number of jobs (INLJOBS)</b> parameter.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value of this parameter does not change.
</dd>
<dt><b><i>1-9999</i></b></dt>
<dd>Specify the minimum number of prestart jobs that must be available before additional prestart jobs are started. Valid values range from 1 through 9999.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPJE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPJE.ADLJOBS"></a>
<h3>Additional number of jobs (ADLJOBS)</h3>
<p>Specifies the additional number of prestart jobs that are started when the number of prestart jobs drops below the value specified on the <b>Threshold (THRESHOLD)</b> parameter.
</p>
<p>
<b>Note: </b>The value of this parameter must be less than the value specified on the <b>Maximum number of jobs (MAXJOBS)</b> parameter.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The additional number of prestart jobs that are started does not change.
</dd>
<dt><b><i>0-999</i></b></dt>
<dd>Specify the number of additional prestart jobs to start. Valid values range from 0 through 999.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPJE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPJE.MAXJOBS"></a>
<h3>Maximum number of jobs (MAXJOBS)</h3>
<p>Specifies the maximum number of prestart jobs that can be active at the same time for this prestart job entry.
</p>
<p><b>Notes</b>
</p>
<ol>
<li>The value specified on this parameter must be greater than or equal to the value specified on the <b>Initial number of jobs (INLJOBS)</b> parameter.
</li>
<li>The value specified on this parameter must be greater than the value specified on the <b>Additional number of jobs (ADLJOBS)</b> parameter.
</li>
<li>If the value specified on this parameter is changed, the value specified on the <b>Class (CLS)</b> parameter might also need to be changed.
</li>
</ol>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The number of prestart jobs that can be active at the same time does not change.
</dd>
<dt><b>*NOMAX</b></dt>
<dd>There is no maximum number of prestart jobs that can be active at the same time.
</dd>
<dt><b><i>1-9999</i></b></dt>
<dd>Specify the maximum number of prestart jobs that can be active at the same time. Valid values range from 1 through 9999.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPJE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPJE.JOB"></a>
<h3>Job name (JOB)</h3>
<p>Specifies the name of the prestart job.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The job name does not change.
</dd>
<dt><b>*PGM</b></dt>
<dd>The job name is the program name specified on the <b>Program (PGM)</b> parameter.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the prestart job.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPJE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPJE.JOBD"></a>
<h3>Job description (JOBD)</h3>
<p>Specifies the name and library of the job description that is used for the prestart job. If the job description does not exist when the entry is changed, a library qualifier must be specified because the qualified job description name is kept in the subsystem description.
</p>
<p>
<b>Note: </b>Only a user with all object (*ALLOBJ) special authority is allowed to add or change an entry for which the job description does not exist.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The job description does not change.
</dd>
<dt><b>*USRPRF</b></dt>
<dd>The job description name entered in the user profile specified on the <b>User profile (USER)</b> parameter is used.
</dd>
<dt><b>*SBSD</b></dt>
<dd>The job description having the same name as the subsystem description named on the <b>Subsystem description (SBSD)</b> parameter is used.
</dd>
</dl>
<p><b>Qualifier 1: Job description</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the job description being used for this prestart job.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the thread's library list are searched until a match is found.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the thread is used to locate the object. If no library is specified as the current library for the thread, the QGPL library is used.
</dd>
</dl>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the job description's library name.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPJE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPJE.MAXUSE"></a>
<h3>Maximum number of uses (MAXUSE)</h3>
<p>Specifies the maximum number of requests that can be handled by each prestart job before the subsystem ends the job in a controlled manner by issuing an End Job (ENDJOB) command with a value of *CNTRLD on the <b>How to end (OPTION)</b> parameter.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
<dt><b>*NOMAX</b></dt>
<dd>There is no maximum number of program start requests that a prestart job can handle. The job is not ended by the subsystem.
</dd>
<dt><b><i>1-1000</i></b></dt>
<dd>Specify the maximum number of requests that a prestart job can handle before it is ended. Valid values range from 1 through 1000.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPJE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPJE.WAIT"></a>
<h3>Wait for job (WAIT)</h3>
<p>Specifies whether program start requests wait for a prestart job to become available or are rejected if a prestart job is not immediately available when the procedure start request is received.
</p>
<p>
<b>Note: </b>Refer to the manual for the communications type being used to determine the timing considerations for program start requests.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value for this parameter does not change.
</dd>
<dt><b>*YES</b></dt>
<dd>Program start requests wait until there is an available prestart job, or until a prestart job is started, to handle the request.
</dd>
<dt><b>*NO</b></dt>
<dd>Program start requests are rejected if a prestart job is not immediately available when the procedure start request is received.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPJE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPJE.POOLID"></a>
<h3>Pool identifier (POOLID)</h3>
<p>Specifies the subsystem pool identifier in which the prestart jobs will run.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The subsystem pool identifier in which prestart jobs run does not change.
</dd>
<dt><b><i>1-10</i></b></dt>
<dd>Specify the subsystem pool identifier in which the prestart jobs run. Valid values range from 1 through 10.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPJE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPJE.CLS"></a>
<h3>Class (CLS)</h3>
<p>Specifies the name and library of the classes that the prestart jobs run under and how many prestart jobs should run using each class. Jobs start by using the first class specified until the number of jobs specified for the first class is reached. After the number of jobs specified for the first class is reached, then jobs are started using the second class. If the class does not exist when the entry is added, a library qualifier must be specified because the qualified class name is kept in the subsystem description.
</p>
<p><b>Notes</b>
</p>
<ol>
<li>Two classes can be specified for this parameter.
</li>
<li>If the value specified on the <b>Maximum number of jobs (MAXJOBS)</b> parameter is changed, the value for the number of jobs specified on this parameter might need to be changed. If *CALC or *MAXJOBS is specified, the system recalculates the value for the number of jobs to use the specified class.
</li>
</ol>
<p><b>Element 1: Class</b>
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The class does not change.
</dd>
<dt><b>*SBSD</b></dt>
<dd>The class having the same name as the subsystem description, specified on the <b>Subsystem description (SBSD)</b> parameter, is used for prestart jobs.
</dd>
</dl>
<dl>
<dt><b></b></dt>
<dd>
<p><b>Qualifier 1: Class</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the class being used for prestart jobs.
</dd>
</dl>
</dd>
<dt><b></b></dt>
<dd>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the thread's library list are searched until a match is found.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the thread is used to locate the object. If no library is specified as the current library for the thread, the QGPL library is used.
</dd>
</dl>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the library name of the class being used for prestart jobs.
</dd>
</dl>
</dd>
</dl>
<p><b>Element 2: Number of jobs to use class</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The number of jobs to use this class does not change.
</dd>
<dt><b>*CALC</b></dt>
<dd>The system calculates how many prestart jobs use this class. If only one class is specified and *CALC is specified, all of the jobs use that class. If two classes are specified and *CALC is specified for both, the first class is the value specified on the <b>Maximum number of jobs (MAXJOBS)</b> parameter divided by two, and the second class is the value of the MAXJOBS parameter minus the value calculated for the first class. If a specific number of jobs is specified for either class and *CALC is specified for the other class, the system calculates the difference between MAXJOBS and the specific number of jobs for the *CALC designation.
</dd>
<dt><b>*MAXJOBS</b></dt>
<dd>All of the prestart jobs use the specified class.
</dd>
<dt><b><i>0-32766</i></b></dt>
<dd>Specify the number of jobs that use this class. The sum of the values specified for both classes must total the value specified on the MAXJOBS parameter.
</dd>
</dl>
<p><b>Element 3: Class</b>
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The second class, if previously specified, does not change.
</dd>
<dt><b>*NONE</b></dt>
<dd>Specify this value if only one class is used for this prestart job entry.
</dd>
<dt><b>*SBSD</b></dt>
<dd>The class having the same name as the subsystem description, specified on the <b>Subsystem description (SBSD)</b> parameter, is used for prestart jobs.
</dd>
</dl>
<dl>
<dt><b></b></dt>
<dd>
<p><b>Qualifier 1: Class</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the class being used for prestart jobs.
</dd>
</dl>
</dd>
<dt><b></b></dt>
<dd>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the thread's library list are searched until a match is found.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the thread is used to locate the object. If no library is specified as the current library for the thread, the QGPL library is used.
</dd>
</dl>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the library name of the class being used for prestart jobs.
</dd>
</dl>
</dd>
</dl>
<p><b>Element 4: Number of jobs to use class</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The number of jobs to use the second class does not change.
</dd>
<dt><b>*CALC</b></dt>
<dd>The system calculates how many prestart jobs use this class. If only one class is specified and *CALC is specified, all of the jobs use that class. If two classes are specified and *CALC is specified for both, the first class is the value specified on the <b>Maximum number of jobs (MAXJOBS)</b> parameter divided by two, and the second class is the value of the MAXJOBS parameter minus the value calculated for the first class. If a specific number of jobs is specified for either class and *CALC is specified for the other class, the system calculates the difference between MAXJOBS and the specific number of jobs for the *CALC designation.
</dd>
<dt><b>*MAXJOBS</b></dt>
<dd>All of the prestart jobs use the specified class.
</dd>
<dt><b><i>0-32766</i></b></dt>
<dd>Specify the number of jobs that use this class. The sum of the values specified for both classes must total the value specified on the MAXJOBS parameter.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPJE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPJE.THDRSCAFN"></a>
<h3>Thread resources affinity (THDRSCAFN)</h3>
<p>Specifies the affinity of threads to system resources.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The thread resources affinity does not change.
</dd>
<dt><b>*SYSVAL</b></dt>
<dd>When the prestart job is started, the thread resources affinity value from the QTHDRSCAFN system value will be used.
</dd>
</dl>
<p><b>Element 1: Group</b>
</p>
<dl>
<dt><b>*NOGROUP</b></dt>
<dd>Prestart jobs will have affinity to a group of processors and memory. Secondary threads running under the job will not necessarily have affinity to the same group of processors and memory.
</dd>
<dt><b>*GROUP</b></dt>
<dd>Prestart jobs will have affinity to a group of processors and memory. Secondary threads running under the job will all have affinity to the same group of processors and memory as the initial thread.
</dd>
</dl>
<p><b>Element 2: Level</b>
</p>
<dl>
<dt><b>*NORMAL</b></dt>
<dd>A thread will use any processor or memory in the system if the resources it has affinity to are not readily available.
</dd>
<dt><b>*HIGH</b></dt>
<dd>A thread will only use the resources it has affinity to, and will wait until they become available if necessary.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPJE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPJE.RSCAFNGRP"></a>
<h3>Resources affinity group (RSCAFNGRP)</h3>
<p>Specifies whether or not prestart jobs using this entry will be grouped together having affinity to the same system resources (processors and memory). A value of *YES for this parameter will take precedence over the QTHDRSCAFN system value when set to *NOGROUP.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The resources affinity group does not change.
</dd>
<dt><b>*NO</b></dt>
<dd>Prestart jobs that use this entry will not be grouped together.
</dd>
</dl>
<dl>
<dt><b>*YES</b></dt>
<dd>Prestart jobs that use this entry will be grouped together such that they will have affinity to the same system resources. Jobs that share data in memory may perform better if they have affinity to the same resources.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPJE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGPJE.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
CHGPJE SBSD(QGPL/PJSBS) PGM(QGPL/PGM1) STRJOBS(*NO)
THRESHOLD(1) ADLJOBS(1)
</pre>
</p>
<p>This command changes the prestart job entry for the PGM1 program in the QGPL library in the PJSBS subsystem description contained in the QGPL library. The prestart jobs associated with this entry are not started the next time the PJSBS subsystem description in the QGPL library is started. The STRPJ command is needed to start the prestart jobs. When more jobs need to be started, one additional job is started.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPJE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGPJE.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF1619</b></dt>
<dd>Subsystem description &amp;1 in library &amp;2 damaged.
</dd>
<dt><b>CPF1691</b></dt>
<dd>Active subsystem description may or may not have changed.
</dd>
<dt><b>CPF1697</b></dt>
<dd>Subsystem description &amp;1 not changed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPJE.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>