Environment variables

Add, change, and remove environment variable actions can be replicated for system-level environment variables using Db2® Mirror. Job level environment variables are not eligible for replication.

The RCL is primed with a system defined rule to exclude all environment variables from replication. A user rule must be added for each system-level environment variable that is to be included in replication. There is no option to replicate all system-level environment variables.

Environment variables have a pseudo object type of *ENVVAR. To add a rule for a system-level environment variable use the name that is shown on the Work with Environment Variables (WRKENVVAR LEVEL(*SYS)) display.