ibm-information-center/dist/eclipse/plugins/i5OS.ic.dbp_5.4.0.1/rbafodbcsqry.htm

64 lines
5.0 KiB
HTML
Raw 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="concept" />
<meta name="DC.Title" content="Use DBCS fields in the Open Query File (OPNQRYF) command" />
<meta name="abstract" content="These topics discuss the use of double-byte character set (DBCS) fields for these Open Query File (OPNQRYF) command functions: wildcard, concatenation, and sort sequence functions. A table shows valid comparisons for DBCS fields through the OPNQRYF command." />
<meta name="description" content="These topics discuss the use of double-byte character set (DBCS) fields for these Open Query File (OPNQRYF) command functions: wildcard, concatenation, and sort sequence functions. A table shows valid comparisons for DBCS fields through the OPNQRYF command." />
<meta name="DC.subject" content="using, Open Query File (OPNQRYF) command, DBCS fields, Open Query File (OPNQRYF) command, DBCS fields, OPNQRYF (Open Query File) command" />
<meta name="keywords" content="using, Open Query File (OPNQRYF) command, DBCS fields, Open Query File (OPNQRYF) command, DBCS fields, OPNQRYF (Open Query File) command" />
<meta name="DC.Relation" scheme="URI" content="rbafoappdbcs.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafodbcsqryw.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafodbcsqryo.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafoqryoc.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafodbcsqryss.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="rbafodbcsqry" />
<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>Use DBCS fields in the Open Query File (OPNQRYF) command</title>
</head>
<body id="rbafodbcsqry"><a name="rbafodbcsqry"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Use DBCS fields in the Open Query File (OPNQRYF) command</h1>
<div><p>These topics discuss the use of double-byte character set (DBCS)
fields for these Open Query File (OPNQRYF) command functions: wildcard, concatenation,
and sort sequence functions. A table shows valid comparisons for DBCS fields
through the OPNQRYF command.</p>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rbafodbcsqryw.htm">Use the wildcard function with DBCS fields</a></strong><br />
The wildcard (%WLDCRD) function with a double-byte character set (DBCS) field differs depending on whether the function is used with a bracketed-DBCS field or a DBCS-graphic field.</li>
<li class="ulchildlink"><strong><a href="rbafodbcsqryo.htm">Compare DBCS fields through the Open Query File (OPNQRYF) command</a></strong><br />
When comparing two fields or constants, fixed-length fields can be compared to variable-length fields as long as the types are compatible.</li>
<li class="ulchildlink"><strong><a href="rbafoqryoc.htm">Use concatenation with DBCS fields through the Open Query File (OPNQRYF) command</a></strong><br />
When using the Open Query File (OPNQRYF) concatenation function,
the <span class="keyword">i5/OS™</span> licensed program
assigns the resulting data type based on the data types of the fields being
concatenated. When double-byte character set (DBCS) fields are included in
a concatenation, the resulting data type is generally the same as concatenated
fields in a logical file, with some slight variations.</li>
<li class="ulchildlink"><strong><a href="rbafodbcsqryss.htm">Use sort sequence with DBCS</a></strong><br />
When a sort sequence is specified, no translation of the double-byte character set (DBCS) data is done. Only SBCS data in DBCS-either or DBCS-open fields is translated. UCS2 data is translated.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafoappdbcs.htm" title="These topics describe double-byte character set (DBCS) considerations as they apply to the database on the iSeries system.">Double-byte character set considerations</a></div>
</div>
</div>
</body>
</html>