76 lines
4.4 KiB
HTML
76 lines
4.4 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="Session manager" />
|
|
<meta name="abstract" content="For all applications that use a session manager, you must ensure that the output data stream has no X'3F' values in it. The operating system uses X'3F' values to blank out a screen." />
|
|
<meta name="description" content="For all applications that use a session manager, you must ensure that the output data stream has no X'3F' values in it. The operating system uses X'3F' values to blank out a screen." />
|
|
<meta name="DC.Relation" scheme="URI" content="rbagshilevellangproggde.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbagsqlangiduse.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="rbagssessionmanagerguide" />
|
|
<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>Session manager</title>
|
|
</head>
|
|
<body id="rbagssessionmanagerguide"><a name="rbagssessionmanagerguide"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Session manager</h1>
|
|
<div><p>For all applications that use a session manager, you must ensure
|
|
that the output data stream has no X'3F' values in it. The operating system
|
|
uses X'3F' values to blank out a screen.</p>
|
|
<div class="section"><h4 class="sectiontitle">General sort sequence</h4><p>The sort sequence used by
|
|
a program might influence the program logic. The following figure
|
|
shows an example of this.</p>
|
|
<p>Using the Latin 1 shared-weight sort sequence,
|
|
character test 3 is equivalent to character test 4 (not all characters are
|
|
shown). When using hexadecimal or unique sorting, they are completely different.
|
|
The following example shows an RPG program using different sort sequences.</p>
|
|
<pre>* RPG Source (Program created with Latin 1 sort sequence)
|
|
*
|
|
C* Test char 3
|
|
C*
|
|
C FLD1 IFEQ 'a'
|
|
C ...
|
|
C* Test char 4
|
|
C*
|
|
C FLD1 IFEQ 'a'
|
|
C FLD1 OREQ 'A'</pre>
|
|
<p><samp class="codeph">C FLD1 OREQ '</samp> <img src="la110000.gif" alt="a acute character" /> <samp class="codeph">'</samp></p>
|
|
<p><samp class="codeph">C
|
|
FLD1 OREQ '</samp> <img src="la120000.gif" alt="A acute character" /> <samp class="codeph">'</samp></p>
|
|
<pre>C ...
|
|
C*
|
|
C SETON LR</pre>
|
|
<p>If
|
|
you compile the program with *JOBRUN specified for the SRTSEQ parameter and
|
|
*JOBRUN specified for the LANGID parameter, the sort sequence table used at
|
|
run time is not known at compile time.</p>
|
|
<p>ILE C/400<sup>®</sup> and DB2<sup>®</sup> Query Manager and SQL Development Kit
|
|
for iSeries™ licensed
|
|
programs have additional special considerations.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbagshilevellangproggde.htm" title="Your major goal must be to have only one general set of running code that is common for all language versions and to make your programs table-driven as much as possible.">Code globalized applications with high-level languages</a></div>
|
|
</div>
|
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
|
<div><a href="rbagsqlangiduse.htm" title="The language identifier (QLANGID) is used to specify the default language identifier for the server.">Language identifier (QLANGID) system value</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |