-SET SYSPARM command (Db2)
You can use the -SET SYSPARM command to change subsystem parameters that can be updated online, while Db2 is started.
Environment for -SET SYSPARM
This command can be issued from a z/OS® console, a DSN session under TSO, a DB2I panel (DB2 COMMANDS), an IMS or CICS® terminal, or a program that uses the instrumentation facility interface (IFI).
Data sharing scope: Member
Authorization for -SET SYSPARM
- SYSOPR authority
- SYSCTRL authority
- SYSADM authority
- SECADM authority
To change the following security-related subsystem parameters, the privilege set of the process must include installation SYSADM authority or SECADM authority:
Db2 commands that are issued from a logged-on z/OS console or TSO SDSF can be checked by Db2 authorization using primary and secondary authorization IDs. A logged-on z/OS user ID must be defined in RACF or a similar security server.
Syntax for -SET SYSPARM
Option descriptions for -SET SYSPARM
- LOAD( load-module-name )
- Specifies the name of the subsystem parameter load module to load into storage. The subsystem parameter load module is generated by installation job DSNTIJUZ. The default load module name is DSNZPARM.
- RELOAD
- Reloads the last named subsystem parameter load module into storage.
- STARTUP
- Resets loaded parameters to their startup values.
Usage notes for -SET SYSPARM
- Run through the installation process in Update mode.
- Produce a new subsystem parameter load module.
- Issue the SET SYSPARM
command.Important:
- Do not issue SET SYSPARM while you are compressing the data set that contains the new subsystem parameter load module.
- If you are compressing the data set that contains the new subsystem parameter load module, and the data set resides in the system LLA, after you compress the data set, and before you issue SET SYSPARM, issue command F LLA, REFRESH. Wait for message CSV210I, which indicates that F LLA, REFRESH is complete.
If you attempt to change installation SYSADM or installation SYSOPR subsystem parameters and you do not have the proper authority, the parameter values that are in place prior to the load of the new subsystem-parameter module are used instead of the unauthorized values in the new module. Db2 issues message DSNZ015 for each attempt of an unauthorized change to a subsystem parameter.
Examples -SET SYSPARM
-SET SYSPARM LOAD(ADMPARM1)
-SET SYSPARM RELOAD
-SET SYSPARM STARTUP