ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzakd_5.4.0.1/constantfields.htm

89 lines
6.1 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="concept" />
<meta name="DC.Title" content="Constant fields in printer files" />
<meta name="abstract" content="Constant fields are unnamed fields (positions 19 through 28 must be blank), or fields with a special name (*NONE) when POSITION (Position) keyword is used in the record." />
<meta name="description" content="Constant fields are unnamed fields (positions 19 through 28 must be blank), or fields with a special name (*NONE) when POSITION (Position) keyword is used in the record." />
<meta name="DC.subject" content="constant fields positional entry" />
<meta name="keywords" content="constant fields positional entry" />
<meta name="DC.Relation" scheme="URI" content="prname.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakdmstptdate.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakdmstpttime.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakdmstptpagnb.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakdmstptmsgco.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="constantfields" />
<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>Constant fields in printer files</title>
</head>
<body id="constantfields"><a name="constantfields"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Constant fields in printer files</h1>
<div><p>Constant fields are unnamed fields (positions 19 through 28 must
be blank), or fields with a special name (*NONE) when POSITION (Position)
keyword is used in the record.</p>
<div class="p">The following rules apply when specifying a constant field: <ul><li>Positions 17 through 38 must be blank if you specify the location of the
field in positions 39 through 44.</li>
<li><img src="./delta.gif" alt="Start of change" />Positions 17, 18, and 29 through 44 must be blank if you
specify the POSITION keyword.<img src="./deltaend.gif" alt="End of change" /></li>
<li>The field can be conditioned using option indicators (positions 7 through
16).</li>
<li><img src="./delta.gif" alt="Start of change" />You can specify a constant field in a record format that
has a BOX, ENDPAGE, GDF, LINE, OVERLAY, or PAGSEG keyword specified on the
record, only if you have specified a POSITION keyword on the constant field.<img src="./deltaend.gif" alt="End of change" /></li>
<li>The constant itself is defined in positions 45 through 80 using one of
the following constant field keywords: <ul><li>Explicit DFT keyword (specify the value within apostrophes with the DFT
keyword)</li>
<li>Implicit DFT keyword (specify the value within apostrophes without the
DFT keyword)</li>
<li>DATE keyword (specify no value)</li>
<li>TIME keyword (specify no value)</li>
<li>PAGNBR keyword (specify no value)</li>
<li>MSGCON keyword (specify the message description, the message file, the
library name, and the length of the message description)</li>
</ul>
</li>
<li>The EDTCDE or the EDTWRD keyword can be specified for constant fields
only when DATE, TIME, or PAGNBR keywords are also specified.</li>
</ul>
</div>
<p>When specifying a location (positions 39 through 44) for constant fields,
you can specify the fields in any order if you use line numbers. If you do
not use line numbers, you must specify the fields in the order in which they
are to appear on the printed page.</p>
<p><img src="./delta.gif" alt="Start of change" />When you specify the POSITION keyword with a constant field,
the special name *NONE signifies the start of the field in the DDS source.
Therefore, you must specify the POSITION keyword or any other keyword associated
with the constant field, either on the same line as the constant
field keyword or on a subsequent line.<img src="./deltaend.gif" alt="End of change" /></p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="prname.htm" title="Use these positions to specify record format names and field names.">Name for printer files (positions 19 through 28)</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rzakdmstptdate.htm" title="Use this field-level keyword to display the current date or the current system date as a constant field 6 or 8 bytes long.">DATE (Date) keyword in printer files</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="rzakdmstpttime.htm" title="This field-level keyword prints the current system time as a constant field 6 bytes long.">TIME (Time) keyword in printer files</a></div>
<div><a href="rzakdmstptpagnb.htm" title="Use this field-level keyword to specify the location of an unnamed, 4-digit, zoned decimal field to contain the page number.">PAGNBR (Page Number) keyword in printer files</a></div>
<div><a href="rzakdmstptmsgco.htm" title="Use this field-level keyword to indicate that the text for a constant field is contained in a message description.">MSGCON (Message Constant) keyword in printer files</a></div>
</div>
</div>
</body>
</html>