86 lines
5.2 KiB
HTML
86 lines
5.2 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="List of values" />
|
||
|
<meta name="abstract" content="A list of values is one or more values that can be specified for a parameter." />
|
||
|
<meta name="description" content="A list of values is one or more values that can be specified for a parameter." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbam6parmvalues.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbam6parms.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="rbam6vallsts" />
|
||
|
<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>List of values</title>
|
||
|
</head>
|
||
|
<body id="rbam6vallsts"><a name="rbam6vallsts"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">List of values</h1>
|
||
|
<div><p>A list of values is one or more values that can be specified for
|
||
|
a parameter. </p>
|
||
|
<div class="section"><p>Not all parameters can accept a list of values. A <em>list parameter</em> can
|
||
|
be defined to accept a specific set of multiple values that can be of one
|
||
|
or more types. Values in the list must be separated by one or more blanks.
|
||
|
Each list of values is enclosed by parentheses, indicating that the list is
|
||
|
treated as a single parameter. Parentheses are used even when a parameter
|
||
|
is specified in positional form. To determine whether a list can be specified
|
||
|
for a parameter, and what kind of list it can be, refer to the parameter description
|
||
|
under the appropriate command description.</p>
|
||
|
<p>A list parameter can be defined
|
||
|
to accept a list of multiple like values (a simple list) or a list of multiple
|
||
|
unlike values (a mixed list). Each value in either kind of list is called
|
||
|
a <em>list element</em>. List elements can be constants, variables, or other
|
||
|
lists; expressions are not allowed.</p>
|
||
|
<ul><li>A <em>simple list</em> parameter accepts one or more values of the type
|
||
|
allowed by a parameter. For example, (RSMITH BJONES TBROWN) is a simple list
|
||
|
of three user names.</li>
|
||
|
<li>A <em>mixed list</em> parameter accepts a fixed set of separately defined
|
||
|
values that are in a specific order. Each value can be defined with specific
|
||
|
characteristics such as type and range. For example, LEN(5 2) is a mixed list
|
||
|
in which the first element (5) gives the length of a field and the second
|
||
|
element (2) gives the number of decimal positions in that field.</li>
|
||
|
<li>For many parameters defined to accept lists, predefined single values
|
||
|
can be specified in place of a list of values. One of these single values
|
||
|
can be the default value, which can be either specified or assumed if no list
|
||
|
is specified for a simple or mixed list. To determine what defaults are accepted
|
||
|
for a given list parameter, refer to the description of the parameter in the
|
||
|
description of the command for which the parameter is defined and used. <p> <strong>Note:</strong> *N
|
||
|
cannot be specified in a simple list, but it can be specified in a mixed list.
|
||
|
Also, individual parameters passed on the CALL and CALLPRC commands cannot
|
||
|
be lists.</p>
|
||
|
</li>
|
||
|
<li>The maximum level of nesting of lists inside lists is three, including
|
||
|
the first. These are indicated by three nested levels of parentheses.</li>
|
||
|
</ul>
|
||
|
<p>The following are examples of lists: <img src="rbam6506.gif" alt="art - examples of lists" /></p>
|
||
|
<p>The last two examples contain
|
||
|
two lists nested inside a list: the first list contains values of A and B,
|
||
|
and the second list contains values of 1 and 2. The space between the two
|
||
|
nested lists is not required. Blanks are the separators between the values
|
||
|
inside each nested list, and the sets of parentheses group the nested values
|
||
|
into larger lists.</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbam6parmvalues.htm" title="A parameter value is user-supplied information used during the running of a command.">Parameter values</a></div>
|
||
|
</div>
|
||
|
<div class="relref"><strong>Related reference</strong><br />
|
||
|
<div><a href="rbam6parms.htm" title="Most CL commands have one or more parameters that specify the objects and values used to run the commands.">Command parameters</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|