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

1107 lines
39 KiB
HTML
Raw 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 Profile (CHGPRF)</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="CHGPRF.Top_Of_Page"></a>
<h2>Change Profile (CHGPRF)</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="#CHGPRF.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CHGPRF.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CHGPRF.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CHGPRF"></a>
<p>The Change Profile (CHGPRF) command allows a user to change some of the values currently specified in the user profile.
</p>
<p><b>Restrictions:</b>
</p>
<ul>
<li>You must have object management (*OBJMGT) and use (*USE) authority to the user profile being changed.
</li>
<li>You must have *USE authority to the current library, program, menu, job description, message queue, print device, output queue, and the ATTN key handling program if changing any of those user profile values.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CHGPRF.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"><a href="#CHGPRF.ASTLVL"><b>ASTLVL</b></a></td>
<td valign="top">Assistance level</td>
<td valign="top"><b><u>*SAME</u></b>, *SYSVAL, *BASIC, *INTERMED, *ADVANCED</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGPRF.CURLIB"><b>CURLIB</b></a></td>
<td valign="top">Current library</td>
<td valign="top"><i>Name</i>, <b><u>*SAME</u></b>, *CRTDFT</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CHGPRF.INLPGM"><b>INLPGM</b></a></td>
<td valign="top">Initial program to call</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *NONE<br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Initial program to call</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="#CHGPRF.INLMNU"><b>INLMNU</b></a></td>
<td valign="top">Initial menu</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *SIGNOFF<br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Initial menu</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="#CHGPRF.TEXT"><b>TEXT</b></a></td>
<td valign="top">Text 'description'</td>
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b>, *BLANK</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGPRF.KBDBUF"><b>KBDBUF</b></a></td>
<td valign="top">Keyboard buffering</td>
<td valign="top"><b><u>*SAME</u></b>, *SYSVAL, *NO, *TYPEAHEAD, *YES</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CHGPRF.JOBD"><b>JOBD</b></a></td>
<td valign="top">Job description</td>
<td valign="top">Single values: <b><u>*SAME</u></b><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>, <b><u>QDFTJOBD</u></b></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="#CHGPRF.DOCPWD"><b>DOCPWD</b></a></td>
<td valign="top">Document password</td>
<td valign="top"><i>Name</i>, <b><u>*SAME</u></b>, *NONE</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CHGPRF.MSGQ"><b>MSGQ</b></a></td>
<td valign="top">Message queue</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *USRPRF<br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Message queue</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="#CHGPRF.DLVRY"><b>DLVRY</b></a></td>
<td valign="top">Delivery</td>
<td valign="top"><b><u>*SAME</u></b>, *NOTIFY, *BREAK, *HOLD, *DFT</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGPRF.SEV"><b>SEV</b></a></td>
<td valign="top">Severity code filter</td>
<td valign="top">0-99, <b><u>*SAME</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGPRF.PRTDEV"><b>PRTDEV</b></a></td>
<td valign="top">Print device</td>
<td valign="top"><i>Name</i>, <b><u>*SAME</u></b>, *WRKSTN, *SYSVAL</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CHGPRF.OUTQ"><b>OUTQ</b></a></td>
<td valign="top">Output queue</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *WRKSTN, *DEV<br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Output queue</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="#CHGPRF.ATNPGM"><b>ATNPGM</b></a></td>
<td valign="top">Attention program</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *NONE, *SYSVAL, *ASSIST<br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Attention 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" rowspan="3"><a href="#CHGPRF.SRTSEQ"><b>SRTSEQ</b></a></td>
<td valign="top">Sort sequence</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *SYSVAL, *HEX, *LANGIDSHR, *LANGIDUNQ<br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Sort sequence</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="#CHGPRF.LANGID"><b>LANGID</b></a></td>
<td valign="top">Language ID</td>
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b>, *SYSVAL</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGPRF.CNTRYID"><b>CNTRYID</b></a></td>
<td valign="top">Country or region ID</td>
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b>, *SYSVAL</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGPRF.CCSID"><b>CCSID</b></a></td>
<td valign="top">Coded character set ID</td>
<td valign="top"><i>Integer</i>, <b><u>*SAME</u></b>, *SYSVAL, *HEX</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGPRF.CHRIDCTL"><b>CHRIDCTL</b></a></td>
<td valign="top">Character identifier control</td>
<td valign="top"><b><u>*SAME</u></b>, *SYSVAL, *DEVD, *JOBCCSID</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGPRF.SETJOBATR"><b>SETJOBATR</b></a></td>
<td valign="top">Locale job attributes</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *SYSVAL, *NONE<br>Other values (up to 6 repetitions): *CCSID, *DATFMT, *DATSEP, *DECFMT, *SRTSEQ, *TIMSEP</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGPRF.LOCALE"><b>LOCALE</b></a></td>
<td valign="top">Locale</td>
<td valign="top"><i>Path name</i>, <b><u>*SAME</u></b>, *NONE, *SYSVAL, *C, *POSIX</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGPRF.USROPT"><b>USROPT</b></a></td>
<td valign="top">User options</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *NONE<br>Other values (up to 7 repetitions): *CLKWD, *EXPERT, *ROLLKEY, *NOSTSMSG, *STSMSG, *HLPFULL, *PRTMSG</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGPRF.HOMEDIR"><b>HOMEDIR</b></a></td>
<td valign="top">Home directory</td>
<td valign="top"><i>Path name</i>, *USRPRF, <b><u>*SAME</u></b></td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CHGPRF.ASTLVL"></a>
<h3>Assistance level (ASTLVL)</h3>
<p>Specifies which user interface to use.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*SYSVAL</b></dt>
<dd>The assistance level defined in the system value QASTLVL is used.
</dd>
</dl>
<dl>
<dt><b>*BASIC</b></dt>
<dd>The Operational Assistant user interface is used.
</dd>
</dl>
<dl>
<dt><b>*INTERMED</b></dt>
<dd>The system interface is used.
</dd>
<dt><b>*ADVANCED</b></dt>
<dd>The expert system interface is used. To allow for more list entries, option keys and function keys are not displayed. If a command does not have an advanced (*ADVANCED) level, the intermediate (*INTERMED) level is used.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPRF.CURLIB"></a>
<h3>Current library (CURLIB)</h3>
<p>Specifies the name of the current library associated with the job being run.
</p>
<p>Specifies the name of the library to be used as the current library for this user. If *PARTIAL or *YES is specified for the <b>Limit capabilities (LMTCPB)</b> parameter of the Create User Profile (CRTUSRPRF) or Change User Profile (CHGUSRPRF) command, the user cannot change the current library at sign-on or with the Change Profile (CHGPRF) command.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*CRTDFT</b></dt>
<dd>This user has no current library. The library QGPL is used as the default current library.
</dd>
</dl>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library to use as the current library for this user.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPRF.INLPGM"></a>
<h3>Initial program to call (INLPGM)</h3>
<p>Specifies, for an interactive job, the program called whenever a new routing step is started that has QCMD as the request processing program. If *PARTIAL or *YES is specified for the <b>Limit capabilities (LMTCPB)</b> parameter, the program value cannot be changed at sign on or by using the Change Profile (CHGPRF) command. No parameters can be passed to the program.
</p>
<p>A System/36 environment procedure name can be specified as the initial program if the procedure is a member of the file QS36PRC (in the library list or specified library) and if either of the following conditions are true:
</p>
<ul>
<li>*S36 is specified on the SPCENV parameter.
</li>
<li>*SYSVAL is specified on the SPCENV parameter and the system value, QSPCENV, is *S36.
</li>
</ul>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*NONE</b></dt>
<dd>No program is called when the user signs on. If a menu name is specified in the <b>Initial menu (INLMNU)</b> parameter, that menu is displayed.
</dd>
</dl>
<p><b>Qualifier 1: Initial program to call</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the program that is called when the user signs on.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched until the first match is found.
</dd>
</dl>
<dl>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is used to locate the program. If no library is specified as the current library for the job, QGPL is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library where the initial program is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPRF.INLMNU"></a>
<h3>Initial menu (INLMNU)</h3>
<p>Specifies the initial menu displayed when the user signs on the system if the user's routing program is the command processor QCMD. If *YES is specified for the <b>Limit capabilities (LMTCPB)</b> parameter, the user cannot change the menu either at sign-on or with the Change Profile (CHGPRF) command.
</p>
<p>A System/36 environment menu can be specified as the initial menu if either of the following conditions are true:
</p>
<ul>
<li>*S36 is specified for the <b>Special environment (SPCENV)</b> parameter.
</li>
<li>*SYSVAL is specified on the SPCENV parameter and the system value, QSPCENV, is *S36.
</li>
</ul>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*SIGNOFF</b></dt>
<dd>The system signs off the user when the program completes. This is intended for users authorized only to run the program.
</dd>
</dl>
<p><b>Qualifier 1: Initial menu</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the initial menu called after the user signs on the system.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched until the first match is found.
</dd>
</dl>
<dl>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is used to locate the menu. If no library is specified as the current library for the job, QGPL is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the nameof the library where the initial menu is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPRF.TEXT"></a>
<h3>Text 'description' (TEXT)</h3>
<p>Specifies the text that briefly describes the object.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*BLANK</b></dt>
<dd>No text is specified.
</dd>
</dl>
<dl>
<dt><b><i>'description'</i></b></dt>
<dd>Specify no more than 50 characters of text, enclosed in apostrophes.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPRF.KBDBUF"></a>
<h3>Keyboard buffering (KBDBUF)</h3>
<p>Specifies the keyboard buffering value to be used when a job is initialized for this user profile. If the type-ahead feature is active, you can buffer your keyboard strokes. If the attention key buffering option is active, the attention key is buffered as any other key. If it is not active, the attention key is not buffered and is sent to the system even if the display station is input-inhibited. This value can also be set by a user application. More information is in the System API Reference information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*SYSVAL</b></dt>
<dd>The system value, QKBDBUF, is used to determine the keyboard buffering value.
</dd>
</dl>
<dl>
<dt><b>*NO</b></dt>
<dd>The type-ahead feature and attention key buffering option are not active.
</dd>
<dt><b>*TYPEAHEAD</b></dt>
<dd>The type-ahead feature is active, but the attention key buffering option is not.
</dd>
<dt><b>*YES</b></dt>
<dd>The type-ahead feature and attention key buffering option are active.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPRF.JOBD"></a>
<h3>Job description (JOBD)</h3>
<p>Specifies the job description used for jobs that start through subsystem work station entries. If the job description does not exist when the user profile is created or changed, a library qualifier must be specified, because the job description name is kept in the user profile.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<p><b>Qualifier 1: Job description</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of job description used for the work station entries whose job description parameter values indicate the user JOBD(*USRPRF).
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched until the first match is found.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the thread is searched. If no library is specified as the current library for the thread, the QGPL library is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library to be searched.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPRF.DOCPWD"></a>
<h3>Document password (DOCPWD)</h3>
<p>Specifies the document password that allows Document Interchange Architecture (DIA) document distribution services users protect personal distributions from being used by people who work on their behalf.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*NONE</b></dt>
<dd>No document password is used by this user.
</dd>
</dl>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the document password to be assigned to this user. The password must range from 1 through 8 alphanumeric characters (letters A through Z and numbers 0 through 9). The first character of the document password must be alphabetic; the remaining characters can be alphanumeric. Embedded blanks, leading blanks, and special characters are not valid.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPRF.MSGQ"></a>
<h3>Message queue (MSGQ)</h3>
<p>Specifies the message queue to which messages are sent.
</p>
<p>
<b>Note: </b>The message queue is created, if it does not already exist. The user profile specified for the <b>User profile (USRPRF)</b> parameter is the owner of the message queue.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*USRPRF</b></dt>
<dd>A message queue with the same name as that specified for the USRPRF parameter is used as the message queue for this user. This message queue is located in the QUSRSYS library.
</dd>
</dl>
<p><b>Qualifier 1: Message queue</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the message queue to be used with this profile.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched until the first match is found.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the thread is searched. If no library is specified as the current library for the thread, the QGPL library is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library to be searched.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPRF.DLVRY"></a>
<h3>Delivery (DLVRY)</h3>
<p>Specifies how messages are sent to the message queue for this user are to be delivered.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*NOTIFY</b></dt>
<dd>The job to which the message queue is assigned is notified when a message arrives at the message queue. For interactive jobs at a work station, the audible alarm is sounded (if the alarm feature is set) and the Message Waiting light is turned on. The delivery mode cannot be changed to *NOTIFY if the message queue is also being used by another job.
</dd>
</dl>
<dl>
<dt><b>*HOLD</b></dt>
<dd>The messages are held in the message queue until they are requested by the user or program.
</dd>
<dt><b>*BREAK</b></dt>
<dd>The job to which the message queue is assigned is interrupted when a message arrives at the message queue. If the job is an interactive job, the audible alarm is sounded (if the alarm feature is set). The delivery mode cannot be changed to *BREAK if the message queue is also being used by another job.
</dd>
<dt><b>*DFT</b></dt>
<dd>The default reply to the inquiry message is sent. If no default reply is specified in the message description of the inquiry message, the system default reply, *N, is used.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPRF.SEV"></a>
<h3>Severity code filter (SEV)</h3>
<p>Specifies the lowest severity code that a message can have and still be delivered to a user in break or notify mode. Messages arriving at the message queue whose severities are lower than the severity code specified for this parameter do not interrupt the job or turn on the audible alarm or the message-waiting light; they are held in the queue until they are requested by using the Display Message (DSPMSG) command. If *BREAK or *NOTIFY is specified for the <b>Delivery (DLVRY)</b> parameter, and is in effect when a message arrives at the queue, the message is delivered if the severity code associated with the message is equal or greater then the value specified here. Otherwise, the message is held in the queue until it is requested.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
</dl>
<dl>
<dt><b><i>0-99</i></b></dt>
<dd>Specify a severity code ranging from 00 through 99.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPRF.PRTDEV"></a>
<h3>Print device (PRTDEV)</h3>
<p>Specifies the default printer device for this user. If the printer file used to create printed output specifies to spool the data, the spooled file is placed on the device's output queue, which is named the same as the device.
</p>
<p>
<b>Note: </b>This assumes the defaults are specified for the <b>Output queue (OUTQ)</b> parameter for the printer file, job description, user profile and workstation.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*WRKSTN</b></dt>
<dd>The printer assigned to the user's work station is used.
</dd>
</dl>
<dl>
<dt><b>*SYSVAL</b></dt>
<dd>The value specified in the system value QPRTDEV is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of a printer that is to be used to print the output for this user.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPRF.OUTQ"></a>
<h3>Output queue (OUTQ)</h3>
<p>Specifies the output queue to be used by this user profile. The output queue must already exist when this command is run.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*WRKSTN</b></dt>
<dd>The output queue assigned to the user's work station is used.
</dd>
</dl>
<dl>
<dt><b>*DEV</b></dt>
<dd>The output queue associated with the printer specified for the <b>Print device (PRTDEV)</b> parameter is used. The output queue has the same name as the printer. (The printer file DEV parameter is determined by the CRTPRTF, CHGPRTF, or the OVRPRTF command).
<p>
<b>Note: </b>This assumes the defaults are specified for the <b>Output queue (OUTQ)</b> parameter for the printer file, job description, user profile and workstation.
</p>
</dd>
</dl>
<p><b>Qualifier 1: Output queue</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the output queue to be used by this user profile.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched until the first match is found.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the thread is searched. If no library is specified as the current library for the thread, the QGPL library is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library to be searched.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPRF.ATNPGM"></a>
<h3>Attention program (ATNPGM)</h3>
<p>Specifies the program to be used as the Attention (ATTN) key handling program for this user. The ATTN key handling program is called when the ATTN key is pressed during an interactive job. The program is active only when the user routes to the system-supplied QCMD command processor. The ATTN key handling program is set on before the initial program (if any) is called and it is active for both program and menu. If the program changes the ATNPGM (by using the SETATNPGM command), the new program remains active only for the duration of the program. When control returns and QCMD calls the menu, the original ATTN key handling program becomes active again. If the SETATNPGM command is run from the menus or an application is called from the menus, the new ATTN key handling program that is specified overrides the original ATTN key handling program. If *YES or *PARTIAL is specified for the <b>Limit capabilities (LMTCPB)</b> parameter on the Create User Profile (CRTUSRPRF) or Change User Profile (CHGUSRPRF) command, the ATTN key handling program cannot be changed.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*SYSVAL</b></dt>
<dd>The system value QATNPGM is used.
</dd>
</dl>
<dl>
<dt><b>*NONE</b></dt>
<dd>No ATTN key handling program is used by this user.
</dd>
<dt><b>*ASSIST</b></dt>
<dd>The Operational Assistant ATTN key handling program, QEZMAIN, is used.
</dd>
</dl>
<p><b>Qualifier 1: Attention program</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specifies the name of the ATTN key handling program to be used for this user profile.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched until the first match is found.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the thread is searched. If no library is specified as the current library for the thread, the QGPL library is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library to be searched.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPRF.SRTSEQ"></a>
<h3>Sort sequence (SRTSEQ)</h3>
<p>Specifies the sort sequence table to be used for string comparisons for this profile.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*SYSVAL</b></dt>
<dd>The system value QSRTSEQ is used.
</dd>
</dl>
<dl>
<dt><b>*HEX</b></dt>
<dd>A sort sequence table is not used. The hexadecimal values of the characters are used to determine the sort sequence.
</dd>
<dt><b>*LANGIDUNQ</b></dt>
<dd>A unique-weight sort table is used.
</dd>
<dt><b>*LANGIDSHR</b></dt>
<dd>A shared-weight sort table is used.
</dd>
</dl>
<p><b>Qualifier 1: Sort sequence</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the sort sequence table to be used with this profile.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched until the first match is found.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the thread is searched. If no library is specified as the current library for the thread, the QGPL library is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library to be searched.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPRF.LANGID"></a>
<h3>Language ID (LANGID)</h3>
<p>Specifies the language identifier to be used for this user.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*SYSVAL</b></dt>
<dd>The system value QLANGID is used.
</dd>
</dl>
<dl>
<dt><b><i>language-identifier</i></b></dt>
<dd>Specify the language identifier to be used. More information on valid language identifiers is in the Globalization topic in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter .
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPRF.CNTRYID"></a>
<h3>Country or region ID (CNTRYID)</h3>
<p>Specifies the country or region identifier to be used for this user.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*SYSVAL</b></dt>
<dd>The system value QCNTRYID is used.
</dd>
</dl>
<dl>
<dt><b><i>character-value</i></b></dt>
<dd>Specify a country or region identifier. To see a complete list of identifiers when prompting this command, position the cursor on the field for this parameter and press F4 (Prompt).
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPRF.CCSID"></a>
<h3>Coded character set ID (CCSID)</h3>
<p>Specifies the coded character set identifier (CCSID) to be used for this user.
</p>
<p>A CCSID is a 16-bit number identifying a specific set of encoding scheme identifiers, character set identifiers, code page identifiers, and additional coding-related information that uniquely identifies the coded graphic representation used.
</p>
<p>
<b>Note: </b>If the value for CCSID is changed, the change does not affect jobs that are currently running.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*SYSVAL</b></dt>
<dd>The system value QCCSID is used.
</dd>
</dl>
<dl>
<dt><b>*HEX</b></dt>
<dd>The CCSID 65535 is used.
</dd>
<dt><b><i>identifier</i></b></dt>
<dd>Specify the CCSID to be used for this user profile. More information on valid CCSIDs is in the Globalization information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPRF.CHRIDCTL"></a>
<h3>Character identifier control (CHRIDCTL)</h3>
<p>Specifies the character identifier control (CHRIDCTL) for the job. This attribute controls the type of coded character set identifier (CCSID) conversion that occurs for display files, printer files and panel groups. The *CHRIDCTL special value must be specified for the <b>Character identifier (CHRID)</b> parameter on the create, change, or override commands for display files, printer files, and panel groups before this attribute will be used.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*SYSVAL</b></dt>
<dd>The system value QCHRIDCTL is used.
</dd>
</dl>
<dl>
<dt><b>*DEVD</b></dt>
<dd>The *DEVD special value performs the same function as on the CHRID command parameter for display files, printer files, and panel groups.
</dd>
<dt><b>*JOBCCSID</b></dt>
<dd>The *JOBCCSID special value performs the same function as on the CHRID command parameter for display files, printer files, and panel groups.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPRF.SETJOBATR"></a>
<h3>Locale job attributes (SETJOBATR)</h3>
<p>Specifies which job attributes are to be taken from the locale specified for the <b>Locale (LOCALE)</b> parameter when the job is initiated.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*SYSVAL</b></dt>
<dd>The system value, QSETJOBATR, is used to determine which job attributes are taken from the locale.
</dd>
</dl>
<dl>
<dt><b>*NONE</b></dt>
<dd>No job attributes are taken from the locale.
</dd>
</dl>
<p><b>Other values</b>
</p>
<dl>
<dt><b>*CCSID</b></dt>
<dd>The coded character set identifier from the locale is used. The CCSID value from the locale overrides the user profile CCSID.
</dd>
<dt><b>*DATFMT</b></dt>
<dd>The date format from the locale is used.
</dd>
<dt><b>*DATSEP</b></dt>
<dd>The date separator from the locale is used.
</dd>
<dt><b>*DECFMT</b></dt>
<dd>The decimal format from the locale is used.
</dd>
<dt><b>*SRTSEQ</b></dt>
<dd>The sort sequence from the locale is used. The sort sequence from the locale overrides the user profile sort sequence.
</dd>
<dt><b>*TIMSEP</b></dt>
<dd>The time separator from the locale is used.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPRF.LOCALE"></a>
<h3>Locale (LOCALE)</h3>
<p>Specifies the path name of the locale that is assigned to the LANG environment variable for this user.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*SYSVAL</b></dt>
<dd>The system value QLOCALE is used to determine the locale path name to be assigned for this user.
</dd>
</dl>
<dl>
<dt><b>*NONE</b></dt>
<dd>No locale path name is assigned for this user.
</dd>
<dt><b>*C</b></dt>
<dd>The C locale path name is assigned for this user.
</dd>
<dt><b>*POSIX</b></dt>
<dd>The POSIX locale path name is assigned for this user.
</dd>
<dt><b><i>'path-name'</i></b></dt>
<dd>Specify the path name of the locale to be assigned for this user.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPRF.USROPT"></a>
<h3>User options (USROPT)</h3>
<p>Specifies the level of help information detail to be shown and the function of the Page Up and Page Down keys by default. The system shows several displays that are suitable for the inexperienced user. More experienced users must perform an extra action to see detailed information. When values are specified for this parameter, the system presents detailed information without further action by the experienced user.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*NONE</b></dt>
<dd>Detailed information is not shown.
</dd>
</dl>
<p><b>Other values</b>
</p>
<dl>
<dt><b>*CLKWD</b></dt>
<dd>Parameter keywords are shown instead of the possible parameter values when a control language (CL) command is prompted.
</dd>
<dt><b>*EXPERT</b></dt>
<dd>More detailed information is shown when the user is performing display and edit options to define or change the system (such as edit or display object authority).
</dd>
<dt><b>*ROLLKEY</b></dt>
<dd>The actions of the Page Up and Page Down keys are reversed.
</dd>
<dt><b>*NOSTSMSG</b></dt>
<dd>Status messages are not displayed when sent to the user.
</dd>
<dt><b>*STSMSG</b></dt>
<dd>Status messages are displayed when sent to the user.
</dd>
<dt><b>*HLPFULL</b></dt>
<dd>Help text is shown on a full display rather than in a window.
</dd>
<dt><b>*PRTMSG</b></dt>
<dd>A message is sent to this user's message queue when a spooled file for this user is printed or held by the printer writer.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPRF.HOMEDIR"></a>
<h3>Home directory (HOMEDIR)</h3>
<p>Specifies the path name of the home directory for this user profile. The home directory is the user's initial working directory. The working directory, associated with a process, is used during path name resolution in the directory file system for path names that do not begin with a slash (/). If the home directory specified does not exist when the user signs on, the user's initial working directory is the root (/) directory.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*USRPRF</b></dt>
<dd>The home directory assigned to the user will be /home/USRPRF, where USRPRF is the name of the user profile.
</dd>
</dl>
<dl>
<dt><b><i>'path-name'</i></b></dt>
<dd>Specify the path name of the home directory to be assigned to this user.
</dd>
</dl>
<p>For more information on specifying path names, refer to "Object naming rules" in the CL concepts and reference topic in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGPRF.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
CHGPRF INLPGM(ARLIB/DSPMENU)
</pre>
</p>
<p>In this example, JJADAMS wants to change his user profile.
</p>
<p>This command makes the following changes to the user profile named JJADAMS:
</p>
<ul>
<li>Changes the first program to start, following a successful sign-on, to a program names DSPMENU, which is located in a library named ARLIB.
</li>
</ul>
<p>All the other command parameters default to *SAME and do not change.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGPRF.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF22EC</b></dt>
<dd>Unable to process request for user profile &amp;1.
</dd>
<dt><b>CPF22E1</b></dt>
<dd>USROPT parameter cannot specify *STSMSG and *NOSTSMSG.
</dd>
<dt><b>CPF22F1</b></dt>
<dd>Coded character set identifier &amp;1 not valid.
</dd>
<dt><b>CPF22F4</b></dt>
<dd>CCSID value &amp;1 not compatible with the system.
</dd>
<dt><b>CPF2209</b></dt>
<dd>Library &amp;1 not found.
</dd>
<dt><b>CPF2213</b></dt>
<dd>Not able to allocate user profile &amp;1.
</dd>
<dt><b>CPF2225</b></dt>
<dd>Not able to allocate internal system object.
</dd>
<dt><b>CPF2228</b></dt>
<dd>Not authorized to change user profile.
</dd>
<dt><b>CPF2242</b></dt>
<dd>Object &amp;1 type *&amp;2 not found in library list.
</dd>
<dt><b>CPF2244</b></dt>
<dd>Object &amp;1 type *&amp;2 cannot be found.
</dd>
<dt><b>CPF2294</b></dt>
<dd>Initial program value cannot be changed.
</dd>
<dt><b>CPF2295</b></dt>
<dd>Initial menu value cannot be changed.
</dd>
<dt><b>CPF2296</b></dt>
<dd>Attention program value cannot be changed.
</dd>
<dt><b>CPF2297</b></dt>
<dd>Current library value cannot be changed.
</dd>
<dt><b>CPF9802</b></dt>
<dd>Not authorized to object &amp;2 in &amp;3.
</dd>
<dt><b>CPF9820</b></dt>
<dd>Not authorized to use library &amp;1.
</dd>
<dt><b>CPF9825</b></dt>
<dd>Not authorized to device &amp;1.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPRF.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>