Command reference / sys

WRKSYSVAL

Work with System Value

Lets you work with a specified system value. System values are provided as part of the system and control certain operations of the operating system and communicate the status of certain conditions. Some changes take effect immediately, some when new jobs are started, and others at the next initial program load (IPL). The RTVSYSVAL command's RTNVAR parameter has a chart showing the type and length of each system value.

Allowed environments: *ALL. Positional parameters: 1.

Restrictions

Parameters

SYSVAL System value

Specifies the name of the system value to work with. Most system values can be specified, but some cannot be changed by this command.

Type
*GENERIC
Required
No
Default
*ALL
Length
10
Case
Uppercase

Suggested / special values: *ALL, *ALC, *DATTIM, *EDT, *LIBL, *MSG, *SEC, *STG, *SYSCTL

*ALL
All system values.
*ALC
Allocation system values.
*DATTIM
Date and time system values.
*EDT
Editing system values.
*LIBL
Library list system values.
*MSG
Message and logging system values.
*SEC
Security system values.
*STG
Storage system values.
*SYSCTL
System control system values.

OUTPUT Output

Specifies whether the command output is displayed at the requesting work station or printed with the job's spooled output.

Type
*CHAR
Required
No
Default
*
Length
6
Case
Uppercase

Allowed values: *, *PRINT

*
Displayed for interactive jobs, or printed with the job's spooled output for non-interactive jobs.
*PRINT
Printed with the job's spooled output.

Examples

WRKSYSVAL SYSVAL(*SEC)

Displays a list of all the security system values.

IBM command documentation

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