ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzake_5.4.0.1/rzakemsticftime.htm

118 lines
5.0 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?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="TIMER (Timer) keyword for ICF files" />
<meta name="abstract" content="Use this record-level keyword to specify an interval of time for your program to wait before performing some specified function." />
<meta name="description" content="Use this record-level keyword to specify an interval of time for your program to wait before performing some specified function." />
<meta name="DC.subject" content="TIMER (Timer) keyword" />
<meta name="keywords" content="TIMER (Timer) keyword" />
<meta name="DC.Relation" scheme="URI" content="rzakemstckeyw.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="icftime" />
<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>ICF Files, TIMER</title>
</head>
<body id="icftime"><a name="icftime"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">TIMER (Timer) keyword for ICF files</h1>
<div><p>Use this record-level keyword to specify an interval of time for
your program to wait before performing some specified function.</p>
<div class="section"><p>To set the timer, your program issues an output
operation with the TIMER keyword in effect.</p>
</div>
<div class="section"><div class="p">The format of the keyword is: <pre>TIMER(HHMMSS | &amp;field-name);</pre>
<dl><dt class="dlterm">HHMMSS</dt>
<dd>The time interval is a 6-digit value where HH is the number of hours (00
through 99), MM is the number of minutes (00 through 59), and SS is the number
of seconds (00 through 59).</dd>
<dt class="dlterm">&amp;field-name</dt>
<dd>The time interval parameter is the name of a field that contains the timer
value in the form HHMMSS described above. The specified field name must exist
in the record format, and the field must be a zoned field with length 6, data
type S, usage P, and zero decimal positions.</dd>
</dl>
</div>
<p>The following keywords cannot be specified with TIMER:</p>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="100%" frame="void" border="0" rules="none"><tbody><tr><td valign="top" width="25%"> <p>ALWWRT<br />
CANCEL<br />
CNLINVITE<br />
CONFIRM<br />
CTLDTA<br />
DETACH<br />
DFREVOKE<br />
EOS</p>
</td>
<td valign="top" width="25%"> <p>ENDGRP<br />
EVOKE<br />
FAIL<br />
FMH<br />
FMTNAME<br />
FRCDTA<br />
INVITE<br />
NEGRSP</p>
</td>
<td valign="top" width="25%"> <p>RCVCONFIRM<br />
RCVCANCEL<br />
RCVCTLDTA<br />
RCVDETACH<br />
RCVENDGRP<br />
RCVFAIL<br />
RCVFMH<br />
RCVNEGRSP</p>
</td>
<td valign="top" width="25%"> <p>RCVTRNRND<br />
RECID<br />
RQSWRT<br />
SECURITY<br />
SUBDEV<br />
SYNLVL<br />
VARBUFMGT<br />
VARLEN</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section"><p>TIMER overrides the WAITRCD parameter on the Create ICF File (CRTICFF),
Change ICF File (CHGICFF), and Override ICF File (OVRICFF) commands. The
WAITRCD parameter value is ignored during the interval that the timer function
is in effect.</p>
<p>Option indicators are not valid for this keyword.</p>
</div>
<div class="example"><h4 class="sectiontitle">Example</h4> <p>The following example shows how to specify
the TIMER keyword.</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
A R RCD1 TIMER(002512)
A R RCD2 TIMER(&amp;FIELD1);
A FIELD1 6S P
A
A</pre>
<p>On an output operation to RCD1, the timer will be set
to 0 hours, 25 minutes, and 12 seconds. On an output operation to RCD2, the
timer will be set to the value that has been set in FIELD1.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakemstckeyw.htm" title="These topics contain the keyword entries that you can specify when you define ICF files.">DDS keyword entries for ICF files (positions 45 through 80)</a></div>
</div>
</div>
</body>
</html>