ibm-information-center/dist/eclipse/plugins/i5OS.ic.nls_5.4.0.1/rbagscursorpositspecs.htm

57 lines
4.1 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="Cursor positioning specifications" />
<meta name="abstract" content="Do not specify cursor positioning values to fixed locations on the screen, because different languages have different space requirements." />
<meta name="description" content="Do not specify cursor positioning values to fixed locations on the screen, because different languages have different space requirements." />
<meta name="DC.Relation" scheme="URI" content="rbagsdispfiledsgngide.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzakc/rzakcmstdfrtncs.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzakc/rzakcmstdfsflkr.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzakc/rzakcmstsflmod.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="rbagscursorpositspecs" />
<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>Cursor positioning specifications</title>
</head>
<body id="rbagscursorpositspecs"><a name="rbagscursorpositspecs"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Cursor positioning specifications</h1>
<div><p>Do not specify cursor positioning values to fixed locations on the screen, because different languages have different space requirements.</p>
<p>When you work with different display files, you can adjust them with the translation process. When you need to work with field-independent cursor locations, store the positional information
outside of your code and retrieve the variable values for the keyword within your program.</p>
<p>For example:</p>
<pre>A record-name CSRLOC(field-name-1 field-name-2)</pre>
<p>Cursor positioning on the field level is more useful in an NLS environment. For normal records, this is done by specifying the DSPATR(PC) keyword on a specific field. For subfiles, the cursor can be
positioned using SFLRCDNBR(CURSOR) keyword on a special positioning field. In addition, the subfile record number must be stored in that field before the format is written.</p>
<p>For example:</p>
<pre>A field-name 4S 0B line pos SFLRCDNBR(CURSOR)</pre>
<div class="note"><span class="notetitle">Note:</span> The name of the record and field where the cursor is positioned, the subfile relative record number, and subfile fold/truncate indicator can be returned to your application program. This function
is provided by hidden fields on the DDS keywords RTNCSRLOC, SFLCSRRRN, and SFLMODE.</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbagsdispfiledsgngide.htm" title="Application panels typically consist of the major elements in this topic.">Display file design</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="../rzakc/rzakcmstdfrtncs.htm">RTNCSRLOC keyword</a></div>
<div><a href="../rzakc/rzakcmstdfsflkr.htm">SFLCSRRRN keyword</a></div>
<div><a href="../rzakc/rzakcmstsflmod.htm">SFLMODE keyword</a></div>
</div>
</div>
</body>
</html>