Command reference / sys
CHGSYSVAL
Change System Value
Changes the current value of the specified system value. Some changes take effect immediately, some only when new jobs start, and others at the next initial program load (IPL). Values containing embedded blanks, numeric or special characters in character-type values, and dates or times must be enclosed in apostrophes. Lists are separated by blanks inside apostrophes, and object names are converted to uppercase.
Allowed environments: *ALL.
Positional parameters: 2.
Restrictions
- To use the command as shipped, you must sign on as QPGMR, QSYSOPR, or QSRV, or have *ALLOBJ special authority.
- Only *ALLOBJ users can change the date and time system values (QCENTURY, QDATE, QDATETIME, QDAY, QHOUR, QMINUTE, QMONTH, QSECOND, QTIME, QTIMZON, QYEAR).
- Only users with *ALLOBJ and *SECADM can change the security-related system values (for example QSECURITY, QPWDRULES, QAUTOCFG, QCRTAUT, and many QPWD* values).
- Only users with *AUDIT can change QAUDCTL, QAUDENDACN, QAUDFRCLVL, QAUDLVL, QAUDLVL2, and QCRTOBJAUD.
- Only users with *IOSYSCFG can change QCFGMSGQ.
- Changing QSSLCSL, QSSLCSLCTL, or QSSLPCL requires *IOSYSCFG, *ALLOBJ, and *SECADM.
- Only users with *JOBCTL can change QCMNARB, QLOGOUTPUT, or QPASTHRSVR.
- Some security-related system values cannot be changed if STRSST has been used to prevent it.
Parameters
SYSVAL
System value
Specifies the name of the system value to change. Most system values can be specified, but some cannot have their values changed by this command. This is a required parameter.
VALUE
New value
Generated from os/cl/catalog/CHGSYSVAL.json and os/cl/help/CHGSYSVAL.json.