ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzakc_5.4.0.1/rzakcmstdftime.htm

69 lines
3.8 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="reference" />
<meta name="DC.Title" content="TIME (Time) keyword for display files" />
<meta name="abstract" content="Use this field-level keyword to display the current system time as a constant (output-only) field." />
<meta name="description" content="Use this field-level keyword to display the current system time as a constant (output-only) field." />
<meta name="DC.subject" content="TIME (Time) keyword" />
<meta name="keywords" content="TIME (Time) keyword" />
<meta name="DC.Relation" scheme="URI" content="rzakcmstkeyent.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2001, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2001, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzakcmstdftime" />
<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>TIME (Time) keyword for display files</title>
</head>
<body id="rzakcmstdftime"><a name="rzakcmstdftime"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">TIME (Time) keyword for display files</h1>
<div><p>Use this field-level keyword to display the current system time
as a constant (output-only) field.</p>
<div class="section"><p>This keyword has no parameters.</p>
<p>You can specify only the
location of the field, TIME, and optionally, the EDTCDE, EDTWRD, COLOR, DSPATR,
or TEXT keyword. Positions 17 through 38 must be blank.</p>
<p>The
edit word <samp class="codeph">'0_:__:__'</samp> (_ represents a blank) is assumed for
a TIME field. You can specify another edit word or one of the user-defined
edit codes (5 through 9) to change the IBM-supplied editing.</p>
<p>Option
indicators are not valid for this keyword, although option indicators can
be used to condition the field with which it is specified.</p>
</div>
<div class="example"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
the TIME keyword.</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A 20 1 56TIME
00020A 21 1 56TIME
00030A EDTWRD('0 &amp;HRS&amp;; &amp;MINS&amp;; &amp;SECS')
A</pre>
<p>In this example, the system time is 110645.</p>
<ul><li>If option indicator 20 is on, the time is displayed as: <pre>11:06:45</pre>
</li>
<li>If option indicator 21 is on (and option indicator 20 is off), the time
is displayed as: <pre>11 HRS 06 MINS 45 SECS</pre>
</li>
</ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakcmstkeyent.htm" title="You type the keyword entries that define display files in positions 45 through 80 (functions).">DDS keyword entries for display files (positions 45 through 80)</a></div>
</div>
</div>
</body>
</html>