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

56 lines
3.1 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>Set configuration defaults with the SETDEFAULTS 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="rzahqdefaults"></a>
<h2 id="rzahqdefaults">Set configuration defaults with the SETDEFAULTS entry type</h2>
<p>You can set default values for certain keywords on the ADDCONFIG and UPDATECONFIG
entry types by using SETDEFAULTS. You can set defaults to:</p>
<ul>
<li>Add and delete lines.</li>
<li>Search for lines.</li>
<li>Identify the file name and path to change.</li></ul>
<p>To set the defaults, create an NWSD configuration file that contains the
SETDEFAULTS entry type as follows:</p>
<p></p>
<pre class="xmp">SETDEFAULTS
ADDWHEN = '&lt;ALWAYS|NEVER|&lt;expression>>', (optional)
DELETEWHEN = '&lt;NEVER|ALWAYS|&lt;expression>>', (optional)
FILESEARCHPOS = '&lt;AFTER|BEFORE>', (optional)
FILESEARCHSTR = '&lt;search_string>', (optional)
TARGETDIR = '&lt;path>', (optional)
TARGETFILE = '&lt;file_name>' (optional)</pre>
<p>For a detailed explanation of the SETDEFAULTS keywords, use the following
keyword links.</p>
<ul>
<li><a href="rzahqaddwhendef.htm#rzahqaddwhendef">ADDWHEN</a></li>
<li><a href="rzahqdeletewhendef.htm#rzahqdeletewhendef">DELETEWHEN</a></li>
<li><a href="rzahqfilesearchposdef.htm#rzahqfilesearchposdef">FILESEARCHPOS keyword (SETDEFAULTS entry type)</a></li>
<li><a href="rzahqfilesearchstrdef.htm#rzahqfilesearchstrdef">FILESEARCHSTR keyword (SETDEFAULTS entry type)</a></li>
<li><a href="rzahqtargetdirdef.htm#rzahqtargetdirdef">TARGETDIR</a></li>
<li><a href="rzahqtargetfiledef.htm#rzahqtargetfiledef">TARGETFILE</a></li></ul>
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
</body>
</html>