202 lines
8.9 KiB
HTML
202 lines
8.9 KiB
HTML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-us">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="dc.language" scheme="rfc1766" content="en-us" />
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<meta name="dc.date" scheme="iso8601" content="2005-09-13" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="security" content="public" />
|
||
|
<meta name="Robots" content="index,follow"/>
|
||
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
||
|
<title>Use substitution variables for keyword values</title>
|
||
|
<link rel="stylesheet" type="text/css" href="ibmidwb.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="ic.css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<a id="Top_Of_Page" name="Top_Of_Page"></a><!-- Java sync-link -->
|
||
|
<script language = "Javascript" src = "../rzahg/synch.js" type="text/javascript"></script>
|
||
|
|
||
|
|
||
|
<a name="rzahqrzahqsvkrf"></a>
|
||
|
<h2 id="rzahqrzahqsvkrf">Use substitution variables for keyword values</h2>
|
||
|
<p>You can use substitution variables for keyword values. The NWSD configuration
|
||
|
file substitutes the correct values for the variables. These substitution
|
||
|
variables are configured using the values stored in the NWSD or the hardware
|
||
|
that is detected on the NWSD.</p>
|
||
|
<p>i5/OS supplies these variables:</p>
|
||
|
<a name="wq503"></a>
|
||
|
<table id="wq503" width="100%" summary="" border="1" frame="border" rules="all" class="singleborder">
|
||
|
<thead valign="bottom">
|
||
|
<tr class="tablemainheaderbar">
|
||
|
<th id="wq504" width="38%" align="left" valign="middle">Substitution variable</th>
|
||
|
<th id="wq505" width="62%" align="left" valign="middle">Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504"><img src="delta.gif" alt="Start of change" />%FPAIPADDRPP%<img src="deltaend.gif" alt="End of change" /></td>
|
||
|
<td align="left" valign="top" headers="wq505">TCP/IP address (NWSD Port *VRTETHPTP) *</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPAIPADDR01%</td>
|
||
|
<td align="left" valign="top" headers="wq505">TCP/IP address (NWSD Port 1) *</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPAIPADDR02%</td>
|
||
|
<td align="left" valign="top" headers="wq505">TCP/IP address (NWSD Port 2) *</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPAIPADDR03%</td>
|
||
|
<td align="left" valign="top" headers="wq505">TCP/IP address (NWSD Port 3) *</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPASUBNETPP%</td>
|
||
|
<td align="left" valign="top" headers="wq505">TCP/IP subnet address (NWSD Port *VRTETHPTP)
|
||
|
*</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPASUBNET01%</td>
|
||
|
<td align="left" valign="top" headers="wq505">TCP/IP subnet address (NWSD Port 1) *</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPASUBNET02%</td>
|
||
|
<td align="left" valign="top" headers="wq505">TCP/IP subnet address (NWSD Port 2) *</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPASUBNET03%</td>
|
||
|
<td align="left" valign="top" headers="wq505">TCP/IP subnet address (NWSD Port 3) *</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPATCPHOSTNAME%</td>
|
||
|
<td align="left" valign="top" headers="wq505">TCP/IP host name</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPATCPDOMAIN%</td>
|
||
|
<td align="left" valign="top" headers="wq505">TCP/IP domain name</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPATCPDNSS%</td>
|
||
|
<td align="left" valign="top" headers="wq505">TCP/IP DNS's, separated by commas</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPATCPDNS01%</td>
|
||
|
<td align="left" valign="top" headers="wq505">TCP/IP Domain Name Server 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPATCPDNS02%</td>
|
||
|
<td align="left" valign="top" headers="wq505">TCP/IP Domain Name Server 2</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPATCPDNS03%</td>
|
||
|
<td align="left" valign="top" headers="wq505">TCP/IP Domain Name Server 3</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPANWSDTYPE%</td>
|
||
|
<td align="left" valign="top" headers="wq505">The type of the NWSD that you are varying
|
||
|
on</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPANWSDNAME%</td>
|
||
|
<td align="left" valign="top" headers="wq505">The name of the NWSD that you are varying
|
||
|
on</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504"><img src="delta.gif" alt="Start of change" />%FPACARDTYPE%<img src="deltaend.gif" alt="End of change" /></td>
|
||
|
<td align="left" valign="top" headers="wq505">The resource type of the NWSD
|
||
|
that you are varying on (ex. 2890, 2892, 4812, 2689, iSCSI)</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPAINSMEM%</td>
|
||
|
<td align="left" valign="top" headers="wq505">The amount of installed memory detected</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPAUSEMEM%</td>
|
||
|
<td align="left" valign="top" headers="wq505">The amount of useable memory detected</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPACODEPAGE%</td>
|
||
|
<td align="left" valign="top" headers="wq505">The ASCII codepage used to translate from
|
||
|
EBCDIC</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPALANGVERS%</td>
|
||
|
<td align="left" valign="top" headers="wq505">The i5/OS Language version used on the NWSD</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPASYSDRIVE%</td>
|
||
|
<td align="left" valign="top" headers="wq505">The drive letter used for the system drive
|
||
|
(C, E when server was installed with V4R4 or earlier)</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPA_CARET%</td>
|
||
|
<td align="left" valign="top" headers="wq505">The caret symbol (^)</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPA_L_BRACKET%</td>
|
||
|
<td align="left" valign="top" headers="wq505">The left bracket symbol ([)</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPA_R_BRACKET%</td>
|
||
|
<td align="left" valign="top" headers="wq505">The right bracket symbol (])</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPA_PERCENT%</td>
|
||
|
<td align="left" valign="top" headers="wq505">The percent symbol (%) NOTE: Since the percent
|
||
|
symbol is used as the substitution variable delimiter, this substitution variable
|
||
|
should be used when a string contains a percent symbol that should NOT be
|
||
|
interpreted as a substitution variable delimiter.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPABOOTDRIVE%</td>
|
||
|
<td align="left" valign="top" headers="wq505">This is always drive E for the Integrated xSeries® Server</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPACFGFILE%</td>
|
||
|
<td align="left" valign="top" headers="wq505">The name of the NWSD configuration file being
|
||
|
processed</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPACFGLIB%</td>
|
||
|
<td align="left" valign="top" headers="wq505">The library that contains the NWSD configuration
|
||
|
file being processed</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" headers="wq504">%FPACFGMBR%</td>
|
||
|
<td align="left" valign="top" headers="wq505">The name of the NWSD configuration file member
|
||
|
being processed</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="2" align="left" valign="top" headers="wq504 wq505"><span class="bold">* Values are retrieved from the NWSD</span></td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<p>You can configure additional substitution variables by creating a file
|
||
|
in QUSRSYS and giving it the same name as the NWSD followed by the suffix
|
||
|
'VA'. You must create the file as a source physical file with a minimum record
|
||
|
length of 16 and maximum record length of 271.</p>
|
||
|
<p>For example, at the i5/OS command line, type this:</p>
|
||
|
<p></p>
|
||
|
<pre class="xmp">CRTSRCPF FILE(QUSRSYS/<span class="italic">nwsdname</span>VA) RCDLEN(271)
|
||
|
MBR(<span class="italic">nwsdname</span>) MAXMBRS(1)
|
||
|
TEXT('Congfiguration file variables')</pre>
|
||
|
<p>The member 'nwsdname' contains data in fixed columns formatted as:</p>
|
||
|
<ul>
|
||
|
<li>A variable name in column 1-15 padded with blanks and</li>
|
||
|
<li>A value that starts in column 16</li></ul>
|
||
|
<p>For example:</p>
|
||
|
<p></p>
|
||
|
<pre class="xmp">Columns:
|
||
|
12345678901234567890123456789012345678901234567890...
|
||
|
myaddr 9.5.9.1</pre>
|
||
|
<p>where %myaddr% is added to the list of available substitution variables
|
||
|
and has a value of "9.5.9.1".</p>
|
||
|
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
|
||
|
</body>
|
||
|
</html>
|