Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Work with Environment Variables (WRKENVVAR) command can be used to show a list of the environment variables on the Work with Environment Variables display. From this display, you can select options to add, to change, to remove, to display the details of, or to print the environment variables.
Restriction: You must have *JOBCTL special authority to use this command to add, change, or remove system-level environment variables.
Top |
Specifies the level of the environment variable.
The possible values are:
Top |
Example 1: Work with Job-level Environment Variables
WRKENVVAR
This command allows you to display and work with all job-level environment variables.
Example 2: Work with System-level Environment Variables
WRKENVVAR LEVEL(*SYS)
This command allows you to display and work with all system-level environment variables.
Top |
None
Top |