78 lines
4.8 KiB
HTML
78 lines
4.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="COLHDG (Column Heading) keyword for physical and logical files" />
|
||
<meta name="abstract" content="Use this field-level keyword to specify column headings used as a label for this field by text management, the query utility, the data file utility (DFU), and the screen design aid (SDA)." />
|
||
<meta name="description" content="Use this field-level keyword to specify column headings used as a label for this field by text management, the query utility, the data file utility (DFU), and the screen design aid (SDA)." />
|
||
<meta name="DC.subject" content="COLHDG (Column Heading) keyword, Column Heading (COLHDG) keyword" />
|
||
<meta name="keywords" content="COLHDG (Column Heading) keyword, Column Heading (COLHDG) 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="tdcolhd" />
|
||
<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, COLHDG</title>
|
||
</head>
|
||
<body id="tdcolhd"><a name="tdcolhd"><!-- --></a>
|
||
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
<h1 class="topictitle1">COLHDG (Column Heading) keyword for physical and logical files</h1>
|
||
<div><p>Use this field-level keyword to specify column headings used as
|
||
a label for this field by text management, the query utility, the data file
|
||
utility (DFU), and the screen design aid (SDA).</p>
|
||
<div class="section"><div class="p">The format of the keyword is: <pre>COLHDG('line-1' ['line-2' ['line-3']])</pre>
|
||
</div>
|
||
<p>A
|
||
maximum of three lines of 20 characters each is allowed. Each line of the
|
||
column heading must be enclosed in single quotation marks (').
|
||
Use double single quotation marks (' ') to specify single quotation marks
|
||
within column headings. Use one or more blanks to separate the first column
|
||
heading line from the second and the second from the third.</p>
|
||
<p>For a physical
|
||
file, if you do not specify COLHDG and it is not retrieved from a referenced
|
||
field, the field name is used. If you do not specify COLHDG for a logical
|
||
file, the column heading from the physical file is used, except when the field
|
||
is a concatenation of fields; in this case, the default is the field name.</p>
|
||
<p>If
|
||
you specify COLHDG but do not specify TEXT, 50 positions of column heading
|
||
information are used as text. For example, COLHDG('Order' 'Date') is equivalent
|
||
to TEXT('Order Date').</p>
|
||
</div>
|
||
<div class="example"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
|
||
the COLHDG keyword for a physical file.</p>
|
||
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
|
||
00150A ORDDAT 5 0 COLHDG('Order' 'Date')
|
||
00160A NAME 20 COLHDG('Customer''s Name')
|
||
00170A CITY 20 COLHDG('Customer' 'City' 'Field')
|
||
A</pre>
|
||
<p>Decimal positions or data type must be specified for
|
||
ORDDAT since Order Date is a numeric field (denoted by NNNNN below).</p>
|
||
<div class="p">The
|
||
following display illustrates how the column headings can appear when running
|
||
text management, query, DFU, or SDA. <pre class="screen">Customer
|
||
Order City
|
||
Date Customer's Name Field
|
||
NNNNN XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX</pre>
|
||
</div>
|
||
</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> |