147 lines
9.1 KiB
HTML
147 lines
9.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 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="Symbolic operators" />
|
|
<meta name="abstract" content="A variety of characters can be used as symbolic operators in CL commands." />
|
|
<meta name="description" content="A variety of characters can be used as symbolic operators in CL commands." />
|
|
<meta name="DC.Relation" scheme="URI" content="rbam6charsetval.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbam6charuse.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbam6express.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbam6opsinexp.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="rbam6symops" />
|
|
<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>Symbolic operators</title>
|
|
</head>
|
|
<body id="rbam6symops"><a name="rbam6symops"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Symbolic operators</h1>
|
|
<div><p>A variety of characters can be used as symbolic operators in CL
|
|
commands.</p>
|
|
<p>The following characters are used as symbolic operators in CL commands.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><thead align="left"><tr><th valign="top" width="17.006802721088434%" id="d0e27">Name</th>
|
|
<th valign="top" width="21.768707482993197%" id="d0e29">Symbol</th>
|
|
<th valign="top" width="61.224489795918366%" id="d0e31">Meanings</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td valign="top" width="17.006802721088434%" headers="d0e27 ">And</td>
|
|
<td valign="top" width="21.768707482993197%" headers="d0e29 ">&</td>
|
|
<td valign="top" width="61.224489795918366%" headers="d0e31 ">Symbolic logical operator for AND.</td>
|
|
</tr>
|
|
<tr><td valign="top" width="17.006802721088434%" headers="d0e27 ">Asterisk</td>
|
|
<td valign="top" width="21.768707482993197%" headers="d0e29 ">*</td>
|
|
<td valign="top" width="61.224489795918366%" headers="d0e31 ">Multiplication operator. Indicates a generic name when it is the last
|
|
character in the name. Indicates i5/OS™ reserved values (predefined parameter
|
|
values and expression operators) when it is the first character in a string.</td>
|
|
</tr>
|
|
<tr><td valign="top" width="17.006802721088434%" headers="d0e27 ">Concatenation</td>
|
|
<td valign="top" width="21.768707482993197%" headers="d0e29 ">|>, |<, and || <sup>3</sup></td>
|
|
<td valign="top" width="61.224489795918366%" headers="d0e31 ">Character string operator (indicates both values are to be joined).</td>
|
|
</tr>
|
|
<tr><td valign="top" width="17.006802721088434%" headers="d0e27 ">Equal</td>
|
|
<td valign="top" width="21.768707482993197%" headers="d0e29 ">=</td>
|
|
<td valign="top" width="61.224489795918366%" headers="d0e31 ">Symbolic <em>equal</em> relational operator.</td>
|
|
</tr>
|
|
<tr><td valign="top" width="17.006802721088434%" headers="d0e27 ">Greater than</td>
|
|
<td valign="top" width="21.768707482993197%" headers="d0e29 ">></td>
|
|
<td valign="top" width="61.224489795918366%" headers="d0e31 ">Symbolic <em>greater than</em> relational operator.</td>
|
|
</tr>
|
|
<tr><td valign="top" width="17.006802721088434%" headers="d0e27 ">Less than</td>
|
|
<td valign="top" width="21.768707482993197%" headers="d0e29 "><</td>
|
|
<td valign="top" width="61.224489795918366%" headers="d0e31 ">Symbolic <em>less than</em> relational operator.</td>
|
|
</tr>
|
|
<tr><td valign="top" width="17.006802721088434%" headers="d0e27 ">Minus (hyphen)</td>
|
|
<td valign="top" width="21.768707482993197%" headers="d0e29 ">-</td>
|
|
<td valign="top" width="61.224489795918366%" headers="d0e31 ">Subtraction operator, command continuation operator, and negative signed
|
|
value indicator. Separates parts of date values. <sup>1</sup></td>
|
|
</tr>
|
|
<tr><td valign="top" width="17.006802721088434%" headers="d0e27 ">Not</td>
|
|
<td valign="top" width="21.768707482993197%" headers="d0e29 "> ¬ <sup>2</sup> </td>
|
|
<td valign="top" width="61.224489795918366%" headers="d0e31 ">Symbolic NOT relational operator.</td>
|
|
</tr>
|
|
<tr><td valign="top" width="17.006802721088434%" headers="d0e27 ">Or</td>
|
|
<td valign="top" width="21.768707482993197%" headers="d0e29 ">| <sup>3</sup></td>
|
|
<td valign="top" width="61.224489795918366%" headers="d0e31 ">Symbolic logical operator for OR.</td>
|
|
</tr>
|
|
<tr><td valign="top" width="17.006802721088434%" headers="d0e27 ">Plus</td>
|
|
<td valign="top" width="21.768707482993197%" headers="d0e29 ">+</td>
|
|
<td valign="top" width="61.224489795918366%" headers="d0e31 ">Addition operator, command continuation character, and positive signed
|
|
value indicator.</td>
|
|
</tr>
|
|
<tr><td valign="top" width="17.006802721088434%" headers="d0e27 ">Slash</td>
|
|
<td valign="top" width="21.768707482993197%" headers="d0e29 ">/</td>
|
|
<td valign="top" width="61.224489795918366%" headers="d0e31 ">Division operator. Separates parts of date values. <sup>1</sup> Used
|
|
as the separator between parts of a qualified name.</td>
|
|
</tr>
|
|
<tr><td colspan="3" valign="top" headers="d0e27 d0e29 d0e31 "><div class="note"><span class="notetitle">Note:</span> <ol><li>Valid only when the job date separator value specifies the same character.</li>
|
|
<li>In some character sets, including the multinational character set, the
|
|
character ^ replaces the ¬ character. Either ^ or *NOT can be
|
|
used as the logical NOT operator in those character sets.</li>
|
|
<li>In some character sets, including the multinational character set, the
|
|
character ! replaces the | character. Either ! or *OR can be used as the logical
|
|
OR operator, and either || or *CAT can be used as the concatenation operator
|
|
in those character sets.</li>
|
|
</ol>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="note"><span class="notetitle">Note:</span> The symbolic operators can also be used in combinations.</div>
|
|
<p>Symbolic operators can also be used in the following ways:</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><caption>Table 1. Symbolic operators: Other uses</caption><thead align="left"><tr><th valign="top" width="16.608996539792386%" id="d0e158">Name</th>
|
|
<th valign="top" width="22.145328719723185%" id="d0e160">Symbol</th>
|
|
<th valign="top" width="61.245674740484425%" id="d0e162">Meanings</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td valign="top" width="16.608996539792386%" headers="d0e158 ">Ampersand</td>
|
|
<td valign="top" width="22.145328719723185%" headers="d0e160 ">&</td>
|
|
<td valign="top" width="61.245674740484425%" headers="d0e162 ">Identifies a CL variable name when it is the first character in the
|
|
string.</td>
|
|
</tr>
|
|
<tr><td valign="top" width="16.608996539792386%" headers="d0e158 ">Percent</td>
|
|
<td valign="top" width="22.145328719723185%" headers="d0e160 ">%</td>
|
|
<td valign="top" width="61.245674740484425%" headers="d0e162 ">Identifies a built-in system function when it is the first character
|
|
in the string.</td>
|
|
</tr>
|
|
<tr><td valign="top" width="16.608996539792386%" headers="d0e158 ">Question mark</td>
|
|
<td valign="top" width="22.145328719723185%" headers="d0e160 ">?</td>
|
|
<td valign="top" width="61.245674740484425%" headers="d0e162 ">Specifies a prompt request when it precedes a command name or keyword
|
|
name.</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbam6charsetval.htm" title="This topic explains the usage of the EBCDIC character sets, special characters, and IBM -defined fixed values called predefined values.">CL character sets and values</a></div>
|
|
</div>
|
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
|
<div><a href="rbam6charuse.htm" title="Special characters can be used only in these special ways or inside quoted character strings or comments.">Special character use</a></div>
|
|
</div>
|
|
<div class="relref"><strong>Related reference</strong><br />
|
|
<div><a href="rbam6express.htm" title="An expression is the value used as the result of evaluating an expression.">Expressions</a></div>
|
|
<div><a href="rbam6opsinexp.htm" title="Operators are used in expressions to indicate an action to be performed on the operands in the expression or the relationship between the operands.">Operators in expressions</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |