ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzakb_5.4.0.1/rzakbmsttdtimse.htm

79 lines
4.5 KiB
HTML
Raw Permalink 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="TIMSEP (Time Separator) keyword for physical and logical files" />
<meta name="abstract" content="Use this field-level keyword to specify the separator character used for a time field. This keyword is valid only for time fields (data type T)." />
<meta name="description" content="Use this field-level keyword to specify the separator character used for a time field. This keyword is valid only for time fields (data type T)." />
<meta name="DC.subject" content="TIMSEP (Time Separator) keyword, Time Separator (TIMSEP) keyword" />
<meta name="keywords" content="TIMSEP (Time Separator) keyword, Time Separator (TIMSEP) keyword" />
<meta name="DC.Relation" scheme="URI" content="rzakbmstlfkeyw.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="tdtimse" />
<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>Physical and Logical Files, TIMSEP</title>
</head>
<body id="tdtimse"><a name="tdtimse"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">TIMSEP (Time Separator) keyword for physical and logical files</h1>
<div><p>Use this field-level keyword to specify the separator character
used for a time field. This keyword is valid only for time fields (data type
T).</p>
<div class="section"><div class="p">The format of the keyword is: <pre>TIMSEP(*JOB | 'time-separator')</pre>
</div>
<p>The
time-separator parameter specifies the separator character that appears between
the hour, minute, and second values. Valid values are a colon (:), a period
(.), a comma (, ), and blank ( ). The parameter must be enclosed in single
quotation marks.</p>
<p>If you specify *JOB, the default is the job attribute.</p>
<p>For
physical files, if you do not specify the TIMSEP keyword, the default is the
job attribute.</p>
<p>For logical files, if you do not specify the TIMSEP keyword,
the default is the separator character from the physical file. If you did
not specify the TIMSEP keyword for the physical file field (*ISO, *USA, *EUR,
or *JIS was specified on the TIMFMT keyword), the default is the job attribute.</p>
<p>If
you specify *ISO, *USA, *EUR, or *JIS time format on the TIMFMT keyword, you
cannot specify the TIMSEP keyword. These formats have a fixed separator.</p>
<p>If
the DFT keyword is not specified, the default value is the current time.</p>
<p>The
TIMSEP keyword overrides the job attribute for a time field. It does not change
the system default.</p>
</div>
<div class="example"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
the TIMSEP keyword.</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A
00020A R RECORD
00030A TIMFLD1 T TIMSEP(' ')
00040A TIMFLD2 T TIMSEP('.')</pre>
<p>If the
current time is 2 o'clock p.m., the system time format is hhmmss, and the
system time separator is ':', TIMFLD1 contains 14 00 00. TIMFLD2
contains 14.00.00.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakbmstlfkeyw.htm" title="This topic lists valid keyword entries for describing physical and logical files. They are typed in positions 45 through 80 (functions).">Keyword entries for physical and logical files (positions 45 through 80)</a></div>
</div>
</div>
</body>
</html>