ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahq_5.4.0.1/rzahqaddcfg.htm

73 lines
4.5 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>Change an integrated server file with ADDCONFIG entry type</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="rzahqaddcfg"></a>
<h2 id="rzahqaddcfg">Change an integrated server file with ADDCONFIG entry type</h2>
<p>You can use the ADDCONFIG entry type to change an integrated Windows server
file in these ways:</p>
<ul>
<li>Add a line to the beginning or end of the file.</li>
<li>Add a new line before or after a line that contains a specific string.</li>
<li>Delete a line in the file.</li>
<li>Replace the first, last, or all occurrences of a line in the file.</li>
<li>Specify in which directory to change the file.</li></ul>
<p>To change an integrated server file, create an NWSD configuration file
that contains the ADDCONFIG entry type as follows:</p>
<p></p>
<pre class="xmp">ADDCONFIG
VAR = '&lt;variable_name>', (conditionally required)
ADDSTR = '&lt;line to process>', (optional)
ADDWHEN = '&lt;ALWAYS|NEVER|&lt;expression>>', (optional)
DELETEWHEN = '&lt;NEVER|ALWAYS|&lt;expression>>', (optional)
LINECOMMENT = '&lt;&quot;REM &quot;|&lt;comment_string>>', (optional)
LOCATION = '&lt;END|BEGIN>', (optional)
FILESEARCHPOS = '&lt;AFTER|BEFORE>', (optional)
FILESEARCHSTR = '&lt;search_string>', (conditionally required)
FILESEARCHSTROCC = '&lt;LAST|FIRST>', (optional)
REPLACEOCC = '&lt;LAST|FIRST|ALL>', (optional)
TARGETDIR = '&lt;BOOT|path>', (optional)
TARGETFILE = '&lt;CONFIG.SYS|&lt;file_name>>', (optional)
UNIQUE = '&lt;NO|YES>' (optional)</pre>
<p>For a detailed explanation of the ADDCONFIG keywords, use the following
keyword links. You can also go back to <a href="rzahqrzahqcftrf.htm#rzahqrzahqcftrf">NWSD configuration file format</a> or on
to the <a href="rzahqupdatecfg.htm#rzahqupdatecfg">Change an integrated Windows server file with UPDATECONFIG entry type</a>.</p>
<ul>
<li><a href="rzahqvar.htm#rzahqvar">VAR keyword</a></li>
<li><a href="rzahqaddstr.htm#rzahqaddstr">ADDSTR keyword</a></li>
<li><a href="rzahqaddwhen.htm#rzahqaddwhen">ADDWHEN keyword</a></li>
<li><a href="rzahqdeletewhen.htm#rzahqdeletewhen">DELETEWHEN keyword</a></li>
<li><a href="rzahqcomment.htm#rzahqcomment">LINECOMMENT keyword</a></li>
<li><a href="rzahqlocation.htm#rzahqlocation">LOCATION keyword</a></li>
<li><a href="rzahqfilesearchpos.htm#rzahqfilesearchpos">FILESEARCHPOS keyword (ADDCONFIG entry type)</a></li>
<li><a href="rzahqfilesearchstr.htm#rzahqfilesearchstr">FILESEARCHSTR keyword</a></li>
<li><a href="rzahqfilesearchstrocc.htm#rzahqfilesearchstrocc">FILESEARCHSTROCC keyword</a></li>
<li><a href="rzahqreplaceocc.htm#rzahqreplaceocc">REPLACEOCC keyword</a></li>
<li><a href="hdrtargetdir.htm#hdrtargetdir">TARGETDIR keyword</a></li>
<li><a href="rzahqtargetfile.htm#rzahqtargetfile">TARGETFILE keyword</a></li>
<li><a href="rzahqunique.htm#rzahqunique">UNIQUE keyword</a></li></ul>
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
</body>
</html>