109 lines
3.4 KiB
HTML
109 lines
3.4 KiB
HTML
|
|
||
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
|
<html>
|
||
|
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<title>Work with Environment Var (WRKENVVAR)</title>
|
||
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
||
|
</head>
|
||
|
<body bgcolor="white">
|
||
|
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<a name="WRKENVVAR.Top_Of_Page"></a>
|
||
|
<h2>Work with Environment Var (WRKENVVAR)</h2>
|
||
|
<table width="100%">
|
||
|
<tr>
|
||
|
<td valign="top" align="left"><b>Where allowed to run: </b>Interactive environments (*INTERACT *IPGM *IREXX *EXEC)<br>
|
||
|
<b>Threadsafe: </b>No
|
||
|
</td>
|
||
|
<td valign="top" align="right">
|
||
|
<a href="#WRKENVVAR.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#WRKENVVAR.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#WRKENVVAR.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="WRKENVVAR"></a>
|
||
|
<p>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.
|
||
|
</p>
|
||
|
<p><b>Restriction:</b> You must have *JOBCTL special authority to use this command to add, change, or remove system-level environment variables.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKENVVAR.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="WRKENVVAR.PARAMETERS.TABLE">Parameters</a></h3>
|
||
|
<table border="1" cellpadding="4" cellspacing="0">
|
||
|
<!-- col1="10" col2="15" col3="30" col4="10" -->
|
||
|
<tr>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#WRKENVVAR.LEVEL"><b>LEVEL</b></a></td>
|
||
|
<td valign="top">Level</td>
|
||
|
<td valign="top"><b><u>*JOB</u></b>, *SYS</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKENVVAR.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="WRKENVVAR.LEVEL"></a>
|
||
|
<h3>Level of the environment variable. (LEVEL)</h3>
|
||
|
<p>Specifies the level of the environment variable.
|
||
|
</p>
|
||
|
<p>The possible values are:
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*JOB</u></b></dt>
|
||
|
<dd>Work with job-level environment variables.
|
||
|
</dd>
|
||
|
<dt><b>*SYS</b></dt>
|
||
|
<dd>Work with system-level environment variables.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKENVVAR.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="WRKENVVAR.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: Work with Job-level Environment Variables</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
WRKENVVAR
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command allows you to display and work with all job-level environment variables.
|
||
|
</p>
|
||
|
<p><b>Example 2: Work with System-level Environment Variables</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
WRKENVVAR LEVEL(*SYS)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command allows you to display and work with all system-level environment variables.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKENVVAR.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="WRKENVVAR.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p>None
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKENVVAR.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|