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

63 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="Year (QYEAR) system value" />
<meta name="abstract" content="The year (QYEAR) is used to specify the last 2 digits of the year on the system." />
<meta name="description" content="The year (QYEAR) is used to specify the last 2 digits of the year on the system." />
<meta name="DC.Relation" scheme="URI" content="rbagssysvalues.htm" />
<meta name="DC.Relation" scheme="URI" content="rbagsqcenturyuse.htm" />
<meta name="DC.Relation" scheme="URI" content="rbagsqdateuse.htm" />
<meta name="DC.Relation" scheme="URI" content="rbagsqcenturyuse.htm" />
<meta name="DC.Relation" scheme="URI" content="rbagsqdateuse.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="rbagsqyearuse" />
<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>Year (QYEAR) system value</title>
</head>
<body id="rbagsqyearuse"><a name="rbagsqyearuse"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Year (QYEAR) system value</h1>
<div><p>The year (QYEAR) is used to specify the last 2 digits
of the year on the system.</p>
<p>This value ranges from 0 through 99. The system assigns the first two digits
for the year based on the current setting for the QCENTURY system value. If
the calculated year falls outside the range of dates supported by the system
(1928 to 2053), the QCENTURY system value is changed so that the calculated
year is within the supported range.</p>
<p>If you change this system value:</p>
<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>
<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>
<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="rbagsqcenturyuse.htm" title="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.">Century (QCENTURY) system value</a></div>
<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>
</div>
</body>
</html>