63 lines
4.3 KiB
HTML
63 lines
4.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="reference" />
|
|
<meta name="DC.Title" content="Built-in functions for CL" />
|
|
<meta name="abstract" content="CL provides several built-in functions." />
|
|
<meta name="description" content="CL provides several built-in functions." />
|
|
<meta name="DC.Relation" scheme="URI" content="rbam6clprograms.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbam6uniquenamerules.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbam6addr.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="binar.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbam6offset.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="subst.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="switc.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="rbam6builtinfunc" />
|
|
<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>Built-in functions for CL</title>
|
|
</head>
|
|
<body id="rbam6builtinfunc"><a name="rbam6builtinfunc"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Built-in functions for CL</h1>
|
|
<div><p>CL provides several built-in functions.</p>
|
|
<div class="section">Built-in function and operators are used in arithmetic, relational,
|
|
or logical expressions. CL provides the following built-in functions:<ul><li>%ADDRESS</li>
|
|
<li>%BINARY</li>
|
|
<li>%OFFSET</li>
|
|
<li>%SUBSTRING</li>
|
|
<li>%SWITCH</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<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="rbam6uniquenamerules.htm" title="This describes additional rules involving special characters for object naming.">Additional rules for unique names</a></div>
|
|
</div>
|
|
<div class="relref"><strong>Related reference</strong><br />
|
|
<div><a href="rbam6addr.htm" title="The address built-in function (%ADDRESS or %ADDR) can be used to change or test the memory address stored in a CL pointer variable and can only be used within a CL procedure.">%ADDRESS built-in function</a></div>
|
|
<div><a href="binar.htm" title="The binary built-in function (%BINARY or %BIN) interprets the contents of a specified CL character variable as a signed binary integer.">%BINARY built-in function</a></div>
|
|
<div><a href="rbam6offset.htm" title="The offset built-in function (%OFFSET or %OFS) can be used to store or change the offset portion of a CL pointer variable and can only be used within a CL procedure.">%OFFSET built-in function</a></div>
|
|
<div><a href="subst.htm" title="The substring built-in function (%SUBSTRING or%SST) produces a character string that is a subset of an existing character string and can only be used within a CL procedure.">%SUBSTRING built-in function</a></div>
|
|
<div><a href="switc.htm" title="The switch built-in function (%SWITCH) compares one or more of eight switches with the eight switch settings already established for the job and returns a logical value of '0' or '1'.">%SWITCH built-in function</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |