68 lines
4.6 KiB
HTML
68 lines
4.6 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="Specify RANGE at the select or omit-field level" />
|
||
|
<meta name="abstract" content="At the select/omit-field level, this keyword selects or omits records retrieved from the physical file(s) when your program sends an input operation using the record format in which the select/omit field is specified." />
|
||
|
<meta name="description" content="At the select/omit-field level, this keyword selects or omits records retrieved from the physical file(s) when your program sends an input operation using the record format in which the select/omit field is specified." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzakbmsttdrange.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2001, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2001, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="rangeselom" />
|
||
|
<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>Specify RANGE at the select or omit-field level</title>
|
||
|
</head>
|
||
|
<body id="rangeselom"><a name="rangeselom"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Specify RANGE at the select or omit-field level</h1>
|
||
|
<div><p>At the select/omit-field level, this keyword selects or omits records
|
||
|
retrieved from the physical file(s) when your program sends an input operation
|
||
|
using the record format in which the select/omit field is specified.</p>
|
||
|
<div class="p">The following rules apply: <ul><li>If the field you are defining is a character field, you must specify character
|
||
|
strings or hexadecimal character strings. <p>Specify character strings enclosed
|
||
|
in single quotation marks (see Example 1 in the <a href="rzakbmsttdrange.htm">RANGE (Range) keyword for physical and logical files</a> topic).</p>
|
||
|
<p>Specify
|
||
|
hexadecimal character strings as an X followed by a combination of the digits
|
||
|
0 through 9 and the letters A through F, enclosed in single quotation marks.
|
||
|
The number of hexadecimal digits in single quotation marks must be exactly
|
||
|
twice the specified length of the field (see Example 2 in the <a href="rzakbmsttdrange.htm">RANGE (Range) keyword for physical and logical files</a> topic).</p>
|
||
|
</li>
|
||
|
<li>If you are defining a numeric field, you must specify a numeric value
|
||
|
(digits 0 through 9 specified without single quotation marks). See Example
|
||
|
1 in the <a href="rzakbmsttdrange.htm">RANGE (Range) keyword for physical and logical files</a> topic.</li>
|
||
|
<li>If you are defining a date field, specify a valid date in the same format
|
||
|
specified on the DATFMT keyword and use the same separator as specified on
|
||
|
the DATSEP keyword. For example, <samp class="codeph">RANGE('12/15/91' '12/31/91')</samp> is
|
||
|
the default value if *MDY is specified for DATFMT and '/' is specified for
|
||
|
DATSEP.</li>
|
||
|
<li>If you are defining a time field, specify a valid time in the same format
|
||
|
specified on the TIMFMT keyword and use the same separator as specified on
|
||
|
the TIMSEP keyword. For example, <samp class="codeph">RANGE('11.00.00' '12.00.00')</samp> is
|
||
|
the default value if *ISO is specified for TIMFMT. The default separator for
|
||
|
*ISO is a period (.).</li>
|
||
|
<li>If you are defining a timestamp field, you must specify the default value
|
||
|
in the following format: <pre>RANGE('YYYY-MM-DD-HH.MM.SS.UUUUUU' 'YYYY-MM-DD-HH.MM.SS.UUUUUU')</pre>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakbmsttdrange.htm" title="Specify this keyword at the field level, the select- or omit-field level, or both.">RANGE (Range) keyword for physical and logical files</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|