CL Command Reference - CHGSBSD

CL Command List > CHGSBSD Reference

Description:

The Change Subsystem Description (CHGSBSD) command changes the operational attributes of the specified subsystem description. You can change the subsystem description while the subsystem is active. However, you cannot specify the *RMV value on the Storage pools (POOLS) parameter while the subsystem is active, because a job may become suspended.

Restrictions:

1. To use this command, you must have:
. 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.
. all object (*ALLOBJ) and security administration (*SECADM) special authority to specify a system library list entry.

2. You cannot specify the *RMV value on the POOLS parameter while the subsystem is active, because a job may become suspended.


Examples:

Example 1: Changing Storage Size and Activity Level

CHGSBSD SBSD(QGPL/PAYCTL) POOLS((2 1500 3))
SGNDSPF(QGPL/COMPANYA)

This command changes the definition of storage pool 2 that is used by subsystem PAYCTL to a storage size of 1500K and an activity level of 3. The sign-on display file is changed to display file COMPANYA and is located in the QGPL library. If the subsystem is active when this command is issued, COMPANYA is not used until the next time the subsystem is started.



Example 2: Changing Multiple Attributes

CHGSBSD SBSD(LIB6/ORDER)
POOLS((1 *BASE)(2 750 4)(3 *RMV)(4 *NOSTG))
MAXJOBS(5)

This command changes the maximum number of jobs that subsystem ORDER can support to five. (The description of the subsystem is stored in library LIB6.) The definition of storage pool 1 is changed to the base shared system pool, the definition of pool 2 is changed to have a storage size of 750K and an activity level of 4, the definition of pool 3 is removed from the subsystem, and the definition of pool 4 is changed to have no storage and no activity level.



Example 3: Changing the Language Library

CHGSBSD SBSD(QGPL/SPANISH) SGNDSPF(QSYS2931/QDSIGNON)
SYSLIBLE(QSYS2931)

This command changes subsystem description SPANISH to a Spanish secondary language.