Command reference / sec

CHGPRF

Change Profile

Changes some of the values of your own user profile. Values that are not specified keep their current values (*SAME).

Allowed environments: *ALL. Positional parameters: 0.

Restrictions

Parameters

ASTLVL Assistance level

Specifies which user interface to use.

Type
*CHAR
Required
No
Default
*SAME
Length
9
Case
Uppercase

Allowed values: *SAME, *SYSVAL, *BASIC, *INTERMED, *ADVANCED

*SAME
The value does not change.
*SYSVAL
The assistance level defined in system value QASTLVL is used.
*BASIC
The Operational Assistant user interface is used.
*INTERMED
The system interface is used.
*ADVANCED
The expert system interface is used. Option keys and function keys are not displayed. Commands without an advanced level use *INTERMED.

CURLIB Current library

Specifies the name of the library used as the current library for this user. If *PARTIAL or *YES is set in LMTCPB, the user cannot change the current library at sign-on or with CHGPRF. A user with LMTCPB(*PARTIAL) or LMTCPB(*YES) cannot change this value.

Type
*NAME
Required
No
Default
*SAME
Length
10
Case
Uppercase

Suggested / special values: *SAME, *CRTDFT

*SAME
The value does not change.
*CRTDFT
The user has no current library, and QGPL is used as the default current library.

INLPGM Initial program to call

Specifies, for an interactive job, the program called whenever a new routing step starts that has QCMD as the request processing program. No parameters can be passed to the program. A user with LMTCPB(*PARTIAL) or LMTCPB(*YES) cannot change this value.

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *NONE

*SAME
The value does not change.
*NONE
No program is called when the user signs on. If INLMNU is specified, that menu is displayed.
*LIBL
All libraries in the library list are searched until the first match is found.
*CURLIB
The current library for the job is used to locate the program. If none, QGPL is used.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Initial program to call Initial program to call

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

INLMNU Initial menu

Specifies the initial menu displayed when the user signs on, if the routing program is QCMD. A user with LMTCPB(*YES) cannot change this value.

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *SIGNOFF

*SAME
The value does not change.
*SIGNOFF
The system signs off the user when the program completes. Intended for users authorized only to run the program.
*LIBL
All libraries in the library list are searched until the first match is found.
*CURLIB
The current library for the job is used to locate the menu. If none, QGPL is used.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Initial menu Initial menu

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

TEXT Text 'description'

Specifies the text that briefly describes the object.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *SAME, *BLANK

*SAME
The value does not change.
*BLANK
No text is specified.

KBDBUF Keyboard buffering

Specifies the keyboard buffering value used when a job is initialized for this user profile.

Type
*CHAR
Required
No
Default
*SAME
Length
10
Case
Uppercase

Allowed values: *SAME, *SYSVAL, *NO, *TYPEAHEAD, *YES

*SAME
The value does not change.
*SYSVAL
System value QKBDBUF determines the value.
*NO
Type-ahead and attention key buffering are not active.
*TYPEAHEAD
Type-ahead is active, but attention key buffering is not.
*YES
Type-ahead and attention key buffering are both active.

JOBD Job description

Specifies the job description used for jobs started through subsystem work station entries. The library must be specified if the job description does not exist yet.

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME

*SAME
The value does not change.
*LIBL
All libraries in the library list are searched until the first match is found.
*CURLIB
The current library for the thread is searched. If none, QGPL is used.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Job description Job description

Type
*NAME
Required
No
Default
QDFTJOBD
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

DOCPWD Document password

Specifies the password used by Document Interchange Architecture (DIA) distribution services to protect personal distributions. Only *SAME is supported here.

Type
*NAME
Required
No
Default
*SAME
Length
8
Case
Uppercase

Suggested / special values: *SAME, *NONE

*SAME
The value does not change.
*NONE
No document password is used.

MSGQ Message queue

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *USRPRF

Qualified parts (object, then library; write LIBRARY/OBJECT)

Message queue Message queue

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

DLVRY Delivery

Type
*CHAR
Required
No
Default
*SAME
Length
7
Case
Uppercase

Allowed values: *SAME, *NOTIFY, *BREAK, *HOLD, *DFT

SEV Severity code filter

Type
*UINT2
Required
No
Default
*SAME
Range
0 to 99
Case
Uppercase

Suggested / special values: *SAME

PRTDEV Print device

Type
*NAME
Required
No
Default
*SAME
Length
10
Case
Uppercase

Suggested / special values: *SAME, *WRKSTN, *SYSVAL

OUTQ Output queue

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *WRKSTN, *DEV

Qualified parts (object, then library; write LIBRARY/OBJECT)

Output queue Output queue

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

ATNPGM Attention program

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *SYSVAL, *NONE, *ASSIST

Qualified parts (object, then library; write LIBRARY/OBJECT)

Attention program Attention program

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

SRTSEQ Sort sequence

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *SYSVAL, *HEX, *LANGIDUNQ, *LANGIDSHR

Qualified parts (object, then library; write LIBRARY/OBJECT)

Sort sequence Sort sequence

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

LANGID Language ID

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *SAME, *SYSVAL

CNTRYID Country or region ID

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *SAME, *SYSVAL

CCSID Coded character set ID

Type
*INT4
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *SYSVAL, *HEX

CHRIDCTL Character identifier control

Type
*CHAR
Required
No
Default
*SAME
Length
9
Case
Uppercase

Allowed values: *SAME, *SYSVAL, *DEVD, *JOBCCSID

SETJOBATR Locale job attributes

Type
*CHAR
Required
No
Default
*SAME
Length
7
List limit
6
Case
Uppercase

Allowed values: *SAME, *SYSVAL, *NONE, *CCSID, *DATFMT, *DATSEP, *DECFMT, *SRTSEQ, *TIMSEP

LOCALE Locale

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *SAME, *SYSVAL, *NONE, *C, *POSIX

USROPT User options

Type
*CHAR
Required
No
Default
*SAME
Length
9
List limit
7
Case
Uppercase

Allowed values: *SAME, *NONE, *CLKWD, *EXPERT, *ROLLKEY, *NOSTSMSG, *STSMSG, *HLPFULL, *PRTMSG

HOMEDIR Home directory

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *SAME, *USRPRF

Examples

CHGPRF INLPGM(ARLIB/DSPMENU)

Program DSPMENU in library ARLIB is called each time you sign on.

IBM command documentation

Generated from os/cl/catalog/CHGPRF.json and os/cl/help/CHGPRF.json.