ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/addpfxdlfm.htm

180 lines
5.6 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Add Prefix to DLFM (ADDPFXDLFM)</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="ADDPFXDLFM.Top_Of_Page"></a>
<h2>Add Prefix to DLFM (ADDPFXDLFM)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
<b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#ADDPFXDLFM.PARAMETERS.TABLE">Parameters</a><br>
<a href="#ADDPFXDLFM.COMMAND.EXAMPLES">Examples</a><br>
<a href="#ADDPFXDLFM.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="ADDPFXDLFM"></a>
<p>The Add Prefix to DLFM (ADDPFXDLFM) command registers a prefix with the DataLink File Manager. This prefix can then be used as a path for storing linked files.
</p>
<p><b>Restrictions:</b>
</p>
<ul>
<li>To use this command, you must have input/output system configuration (*IOSYSCFG) special authority.
</li>
<li>Only prefixes in the root file system can be specified. The Display Mounted File System Information (DSPMFSINF) command can be used to identify the file system in which a prefix resides.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDPFXDLFM.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="ADDPFXDLFM.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" rowspan="2"><a href="#ADDPFXDLFM.PREFIX"><b>PREFIX</b></a></td>
<td valign="top">Prefix</td>
<td valign="top">Values (up to 300 repetitions): <i>Element list</i></td>
<td valign="top" rowspan="2">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top">Element 1: Name</td>
<td valign="top">
<i>Character value</i></td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#ADDPFXDLFM.SRCFILE"><b>SRCFILE</b></a></td>
<td valign="top">Source file</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional, Positional 2</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Source file</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top"><a href="#ADDPFXDLFM.SRCMBR"><b>SRCMBR</b></a></td>
<td valign="top">Source member</td>
<td valign="top"><i>Name</i></td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#ADDPFXDLFM.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="ADDPFXDLFM.PREFIX"></a>
<h3>Prefix (PREFIX)</h3>
<p>Specifies one or more prefixes to be registered with the DataLink File Manager. Up to 300 prefixes can be specified.
</p>
<dl>
<dt><b><i>character-value</i></b></dt>
<dd>Specify a prefix to be registered.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDPFXDLFM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDPFXDLFM.SRCFILE"></a>
<h3>Source file (SRCFILE)</h3>
<p>Specifies the source file that will be used to provide the prefixes to be registered.
</p>
<p>
<b>Note: </b>If a value is specified for this parameter, you must also specify a value for the <b>Source member (SRCMBR)</b> parameter.
</p>
<p><b>Qualifier 1: Source file</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the source file.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched until the first match is found.
</dd>
</dl>
<dl>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is used to locate the file. If no library is specified as the current library, QGPL is used.
</dd>
</dl>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library to be searched.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDPFXDLFM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDPFXDLFM.SRCMBR"></a>
<h3>Source member (SRCMBR)</h3>
<p>Specifies the source file member that contains the prefixes to be registered. Each row in the source member must contain a prefix.
</p>
<p>
<b>Note: </b>If a value is specified for this parameter, you must also specify a value for the <b>Source file (SRCFILE)</b> parameter.
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the source file member..
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDPFXDLFM.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ADDPFXDLFM.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Registering a Datalink File Manager Prefix</b>
</p>
<p>
<pre>
ADDPFXDLFM PREFIX('/files/datalinks')
</pre>
</p>
<p>This command registers <i>/files/datalinks</i> as a valid prefix for linked files.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDPFXDLFM.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ADDPFXDLFM.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF3168</b></dt>
<dd>DataLink File Manager (DLFM) command failed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDPFXDLFM.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>