67 lines
5.1 KiB
HTML
67 lines
5.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="Century (QCENTURY) system value" />
|
|
<meta name="abstract" content="The century (QCENTURY) system value is used to specify the century. It is used with the system values QDATE and QYEAR to determine the specific date currently being used by the server." />
|
|
<meta name="description" content="The century (QCENTURY) system value is used to specify the century. It is used with the system values QDATE and QYEAR to determine the specific date currently being used by the server." />
|
|
<meta name="DC.Relation" scheme="URI" content="rbagssysvalues.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbagsqdateuse.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbagsqyearuse.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbagsqdateuse.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbagsqyearuse.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="rbagsqcenturyuse" />
|
|
<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>Century (QCENTURY) system value</title>
|
|
</head>
|
|
<body id="rbagsqcenturyuse"><a name="rbagsqcenturyuse"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Century (QCENTURY) system value</h1>
|
|
<div><p>The century (QCENTURY) system value is used to specify the century. It is used with the system values QDATE and QYEAR to determine the specific date currently being used by the server.</p>
|
|
<p>The possible values are:</p>
|
|
<ul><li>0 (the years from 1928 to 1999)</li>
|
|
<li>1 (the years from 2000 to 2053)</li>
|
|
</ul>
|
|
<div class="note"><span class="notetitle">Note:</span> 1900 to 1927 and 2054 to 2099 are not supported years for system time. Applications can, however, support year date ranges from 0001 to 9999.</div>
|
|
<p>You can set the value of QCENTURY with the century indicator, or the system sets the value of QCENTURY based on the following two situations:</p>
|
|
<ul><li>At the time of the first IPL, the system sets the initial value of QCENTURY based on the following rules: <ul><li>If QYEAR is equal to or greater than 40, the system assigns a value of 0 to QCENTURY.</li>
|
|
<li>If QYEAR is less than 40, the system assigns a value of 1 to QCENTURY.</li>
|
|
</ul>
|
|
</li>
|
|
<li>When QYEAR or the year in QDATE is changed: <ul><li>QCENTURY is set to 0 if QYEAR is 54 to 99</li>
|
|
<li>QCENTURY is set to 1 if QYEAR is 00 to 27</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<p>For example, if you change QYEAR from 95 to 13, the system changes QCENTURY from 0 to 1, indicating a year of 2013. However, if you change QYEAR from 95 to 45, the system will not change QCENTURY, because
|
|
both 1945 and 2045 are valid dates.</p>
|
|
<p>If you change this value, the change takes effect immediately. Changing this value also affects the system value QDATE.</p>
|
|
<div class="note"><span class="notetitle">Note:</span> The 21st century begins at 0000 hours, 1 January 2001. However, for purposes of common understanding, the 20th/21st century boundary is defined to be between 2400 hours, 31 December 1999 and 0000
|
|
hours, 1 January 2000. This allows a discussion of the 21st century to include all dates with a 20xx format inclusive of the year 2000.</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbagssysvalues.htm" title="The system values of the primary language on the server are used as server-wide cultural and linguistic defaults. Therefore, if you change the primary language on the server, each varying system value resets to the default system value for the new primary language.">System values</a></div>
|
|
</div>
|
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
|
<div><a href="rbagsqdateuse.htm" title="The system date (QDATE) is used to indicate the year, the month, and the day on the system.">System date (QDATE) system value</a></div>
|
|
<div><a href="rbagsqyearuse.htm" title="The year (QYEAR) is used to specify the last 2 digits of the year on the system.">Year (QYEAR) system value</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |