70 lines
4.2 KiB
HTML
70 lines
4.2 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 lang="en-us" xml:lang="en-us">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<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))' />
|
||
|
<meta name="DC.Type" content="concept" />
|
||
|
<meta name="DC.Title" content="ALIAS (Alternative Name) keyword in printer files" />
|
||
|
<meta name="abstract" content="Use this field-level keyword to specify an alternative name for a field." />
|
||
|
<meta name="description" content="Use this field-level keyword to specify an alternative name for a field." />
|
||
|
<meta name="DC.subject" content="ALIAS (Alternative Name) keyword, Alternative Name (ALIAS) keyword" />
|
||
|
<meta name="keywords" content="ALIAS (Alternative Name) keyword, Alternative Name (ALIAS) keyword" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzakdmstprkey.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../dds/rbafpmstddsnam.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2001, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2001, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="rzakdmstptalias" />
|
||
|
<meta name="DC.Language" 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. -->
|
||
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
||
|
<title>ALIAS (Alternative Name) keyword in printer files</title>
|
||
|
</head>
|
||
|
<body id="rzakdmstptalias"><a name="rzakdmstptalias"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">ALIAS (Alternative Name) keyword in printer files</h1>
|
||
|
<div><p>Use this field-level keyword to specify an alternative name for
|
||
|
a field.</p>
|
||
|
<p>When the program is compiled, the alternative name is brought into the
|
||
|
program instead of the DDS field name. The high-level language compiler in
|
||
|
use determines if the alternative name is used. Refer to the
|
||
|
appropriate high-level language reference manual for information about ALIAS
|
||
|
support for that language.</p>
|
||
|
<div class="p">The format of the keyword is: <pre>ALIAS(alternative-name)</pre>
|
||
|
</div>
|
||
|
<p>The alternative-name parameter must be different from all other alternative
|
||
|
names and from all DDS field names in the record format. If a duplicate name
|
||
|
is found, an error appears on the field name or alternative name.</p>
|
||
|
<p>An alternative name cannot be used within DDS or any other <span class="keyword"><font color="Purple">i5/OS™</font></span> function (for example, as a key field name,
|
||
|
as the field name specified for the REFFLD keyword, or as a field name used
|
||
|
in the Copy File (CPYF) command).</p>
|
||
|
<p>When you reference a field that has the ALIAS keyword, the ALIAS keyword
|
||
|
is copied in unless the ALIAS keyword is explicitly specified on the referencing
|
||
|
field.</p>
|
||
|
<p>Option indicators are not valid for this keyword.</p>
|
||
|
<div class="section"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
|
||
|
the ALIAS keyword.</p>
|
||
|
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
|
||
|
00070A FIELDA 25A 1 2ALIAS(CUSTOMERNAME)
|
||
|
A</pre>
|
||
|
<p>In this example, the alternative name for FIELDA is CUSTOMERNAME.</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakdmstprkey.htm" title="See the valid keyword entries for defining printer files in this topic.">Keyword entries for printer files (positions 45 through 80)</a></div>
|
||
|
</div>
|
||
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
||
|
<div><a href="../dds/rbafpmstddsnam.htm">Naming conventions</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|