125 lines
6.3 KiB
HTML
125 lines
6.3 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="Naming within commands" />
|
|
<meta name="abstract" content="You can use only specific characters for naming within commands." />
|
|
<meta name="description" content="You can use only specific characters for naming within commands." />
|
|
<meta name="DC.Relation" scheme="URI" content="rbam6clprograms.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbam6folddocnames.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbam6comdefstate.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbam6objnamrules.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbam6label.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbam6objnamrules.htm" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="rbam6nameincom" />
|
|
<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>Naming within commands</title>
|
|
</head>
|
|
<body id="rbam6nameincom"><a name="rbam6nameincom"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Naming within commands</h1>
|
|
<div><p>You can use only specific characters for naming within commands.</p>
|
|
<p>The type of name you specify in control language determines the characters
|
|
you can use to specify a name. For certain types of names, there are restrictions
|
|
on the use of certain characters to represent the name. Those types of names
|
|
are *NAME, *SNAME, and *CNAME.</p>
|
|
<div class="note"><span class="notetitle">Note:</span> For a description of how to specify these names when you use command
|
|
definitions to create commands, see the PARM (parameter) and ELEM (element)
|
|
statements.</div>
|
|
<p>The characters allowed for the *NAME, *SNAME, and *CNAME names and the
|
|
rules you use to specify them are shown in the table below.</p>
|
|
<div class="section">
|
|
<div class="tablenoborder"><a name="rbam6nameincom__Table_10"><!-- --></a><table cellpadding="4" cellspacing="0" summary="" id="rbam6nameincom__Table_10" frame="border" border="1" rules="all"><caption>Table 1. Allowable Characters for *NAME, *SNAME,
|
|
and *CNAME </caption><thead align="left"><tr><th valign="top" id="d0e42">Type of Name</th>
|
|
<th valign="top" id="d0e44">First Character</th>
|
|
<th valign="top" id="d0e46">Other Characters</th>
|
|
<th valign="top" id="d0e48">Min. Length</th>
|
|
<th valign="top" id="d0e50">Max. Length</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td valign="top" headers="d0e42 ">*NAME <sup>1</sup></td>
|
|
<td valign="top" headers="d0e44 "> <pre>A-Z,
|
|
$, #,
|
|
@</pre>
|
|
</td>
|
|
<td valign="top" headers="d0e46 "> <pre>A-Z, 0-9, $,
|
|
#, @, _, .</pre>
|
|
</td>
|
|
<td valign="top" headers="d0e48 ">1</td>
|
|
<td valign="top" headers="d0e50 ">256</td>
|
|
</tr>
|
|
<tr><td valign="top" headers="d0e42 ">*SNAME <sup>1</sup></td>
|
|
<td valign="top" headers="d0e44 "> <pre>A-Z,
|
|
$, #,
|
|
@</pre>
|
|
</td>
|
|
<td valign="top" headers="d0e46 "> <pre>A-Z, 0-9,
|
|
$, #, @, _</pre>
|
|
</td>
|
|
<td valign="top" headers="d0e48 ">1</td>
|
|
<td valign="top" headers="d0e50 ">256</td>
|
|
</tr>
|
|
<tr><td valign="top" headers="d0e42 ">*CNAME <sup>1</sup></td>
|
|
<td valign="top" headers="d0e44 "> <pre>A-Z,
|
|
$, #,
|
|
@</pre>
|
|
</td>
|
|
<td valign="top" headers="d0e46 "> <pre>A-Z, 0-9,
|
|
$, #, @</pre>
|
|
</td>
|
|
<td valign="top" headers="d0e48 "> </td>
|
|
<td valign="top" headers="d0e50 "> </td>
|
|
</tr>
|
|
<tr><td valign="top" headers="d0e42 ">Quoted name <sup>2</sup></td>
|
|
<td valign="top" headers="d0e44 "> <pre>"3</pre>
|
|
</td>
|
|
<td valign="top" headers="d0e46 ">Any except blank, *, ?, ', ", X'00'-X'3F', and X'FF'</td>
|
|
<td valign="top" headers="d0e48 ">3</td>
|
|
<td valign="top" headers="d0e50 ">256</td>
|
|
</tr>
|
|
<tr><td colspan="5" valign="top" headers="d0e42 d0e44 d0e46 d0e48 d0e50 "><div class="note"><span class="notetitle">Note:</span> <ol><li>The system converts lowercase letters to uppercase letters. </li>
|
|
<li>Double quotes can only be used for basic names (*NAME). </li>
|
|
<li>Both the first and last characters must be a double quote (").</li>
|
|
</ol>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<ul class="ullinks">
|
|
<li class="ulchildlink"><strong><a href="rbam6folddocnames.htm">Folder and document names</a></strong><br />
|
|
Folder and document names should describe the contents of the folder or document.</li>
|
|
</ul>
|
|
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbam6clprograms.htm" title="This covers elements of CL such as character sets and values, expressions, built-in functions, and naming within commands.">Control language elements</a></div>
|
|
</div>
|
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
|
<div><a href="rbam6objnamrules.htm" title="This describes rules for naming i5/OS objects.">Object naming rules</a></div>
|
|
</div>
|
|
<div class="relref"><strong>Related reference</strong><br />
|
|
<div><a href="rbam6comdefstate.htm" title="Command definition allows system users to create additional commands to meet specific application needs.">Command definition statements</a></div>
|
|
<div><a href="rbam6label.htm" title="Command labels identify particular commands for branching purposes in a CL program. Labels can also be used to identify statements in CL programs that are being debugged. They can identify statements used either as breakpoints or as starting and ending statements for tracing purposes.">Command label</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |