ibm-information-center/dist/eclipse/plugins/i5OS.ic.rbam6_5.4.0.1/rbam6subscriptdes.htm

63 lines
3.4 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<?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="Subscript description" />
<meta name="abstract" content="The topic describes the subscript description." />
<meta name="description" content="The topic describes the subscript 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="rbam6subscriptdes" />
<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>Subscript description</title>
</head>
<body id="rbam6subscriptdes"><a name="rbam6subscriptdes"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Subscript description</h1>
<div><p>The topic describes the subscript description.</p>
<div class="section"><pre>Subscript
.-integer-number--.
&gt;&gt;-+-qualified-name--+-----------------------------------------&gt;&lt;
'-<em>*</em>---------------'
</pre>
<p>An integer number contains from 1 through 15 digits with an
optional leading sign (either plus or minus). A decimal point is not allowed
in an integer-number subscript. If a decimal point is specified, the subscript
value is not interpreted as the correct numeric value by the system, and an
error message is returned.</p>
<p>An asterisk (*) can be used to request a
single-dimensional cross-section display of an array program variable. An
asterisk can only be specified for a subscript on the primary variable (not
on a basing pointer) for the PGMVAR keyword on the Add Break Point (ADDBKP),
Add Trace (ADDTRC), and Display Program Variable (DSPPGMVAR) commands. In
addition, if the variable has multiple dimensions, only one of the subscript
values can be an asterisk. An example of a request to display an array cross-section
is:</p>
<pre> DSPPGMVAR PGMVAR('X1(*,5,4)')</pre>
<p>This display shows the values of all elements of the array
that have the second subscript equal to five, and the third subscript equal
to four.</p>
</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>