Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Macro name changed from html to html-bobswift during server to cloud migration processing.

...

z/OS

Environment variables in z/OS are specified in the JCL EXEC statement PARM keyword. Environment variables are part of the IBM Language Environment (LE) and as such are specified as LE runtime options. The PARM value is divided into LE options and application options by a slash ( / ) character. Options to the left of the slash are LE options and options to the right are application options.
 
Example of setting an environment variable (set option UCMDLEVEL to a value of INFO):
 

Panel
Html bobswift
<pre>
PARM='ENVAR("UCMDLEVEL=INFO")/'
</pre>

UNIX

Environment variables in UNIX are defined as part of the shell environment. As such, shell commands are used to set environment variables. The environment variable must be exported to be used be a called program.
 
Example of setting an environment variable (set option UCMDLEVEL to a value of INFO in a bourne, bash, or korn shell):
 

Panel
Html bobswift
<pre>
UCMDLEVEL=INFO
export UCMDLEVEL
</pre>

Windows

Environment variables in Windows are defined as part of the Windows console command environment. As such, console commands are used to set environment variables.
 
Example of setting an environment variable (set option UCMDLEVEL to a value of INFO):
 

Panel
Html bobswift
<pre>
SET UCMDLEVEL=INFO
</pre>

IBM i

Environment variables in IBM i are defined with Command Language (CL) commands for the current job environment.
 
Example of setting an environment variable (set option UCMDLEVEL to a value of INFO):
 

Panel
Html bobswift
<pre>
ADDENVVAR ENVVAR(UCMDLEVEL) VALUE(INFO)
</pre>