66 lines
3.9 KiB
HTML
66 lines
3.9 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="Basing-pointer description" />
|
|
<meta name="abstract" content="The topic describes the basing-pointer description." />
|
|
<meta name="description" content="The topic describes the basing-pointer description." />
|
|
<meta name="DC.Relation" scheme="URI" content="rbam6probas.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="rbam6basingpointerdes" />
|
|
<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>Basing-pointer description</title>
|
|
</head>
|
|
<body id="rbam6basingpointerdes"><a name="rbam6basingpointerdes"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Basing-pointer description</h1>
|
|
<div><p>The topic describes the basing-pointer description.</p>
|
|
<div class="section"><pre>Basing Pointer
|
|
|
|
.-------------------.
|
|
V (1) |
|
|
>>-<var class="varname">qualified-name</var>---<var class="varname">subscript</var>------,<var class="varname">subscript</var>-------+----------><
|
|
</pre>
|
|
<div class="note"><span class="notetitle">Note:</span> A maximum of 14 repetitions</div>
|
|
<p>The basing pointer
|
|
must be enclosed in apostrophes if it contains special characters. Up to 132
|
|
characters can be specified for a basing pointer name. This includes any subscripts,
|
|
embedded blanks, parentheses, and commas. It does not include the enclosing
|
|
apostrophes when special characters are used. Some examples are:</p>
|
|
<pre> PTRVAR1
|
|
'ABC.PGMPTR(5,B.I)'</pre>
|
|
<p>If more than one basing pointer is specified for a variable,
|
|
the list of basing pointers must be enclosed in parentheses. When multiple
|
|
basing pointers are specified, they must be listed in order, from the first
|
|
basing pointer to the last, when used to locate the variable. In the example
|
|
below, the PTR_1 basing pointer is the first basing pointer used to locate
|
|
the variable; it either must have a declared basing pointer, or it must not
|
|
be a based variable. The address contained in the PTR_1 pointer is used to
|
|
locate the A.PTR_2 pointer (which must be declared as a based pointer variable).
|
|
The contents of the A.PTR_2 pointer are used to locate the PTR_3 pointer array
|
|
(which must also be declared based), and the contents of the specified element
|
|
in the last pointer array are used to locate the variable. An example is:</p>
|
|
<pre> ('PTR_1' 'A.PTR_2' 'PTR_3(1,B.J)')</pre>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbam6probas.htm" title="The operating system includes functions that let a programmer observe operations performed as a program runs.">Parameter values used for testing and debugging</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |