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

111 lines
6.5 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="task" />
<meta name="DC.Title" content="Define a printer file" />
<meta name="abstract" content="You can find rules and examples for filling in positions 1 through 44 of the data description specifications form for printer files in this topic." />
<meta name="description" content="You can find rules and examples for filling in positions 1 through 44 of the data description specifications form for printer files in this topic." />
<meta name="DC.Relation" scheme="URI" content="kickoff.htm" />
<meta name="DC.Relation" scheme="URI" content="conventermddsinfo.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakdmstposy1.htm" />
<meta name="DC.Relation" scheme="URI" content="../dds/examples.htm" />
<meta name="DC.Relation" scheme="URI" content="../dds/rbafpmstsyntax.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzalu/rzaluref.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="zprint" />
<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>Define a printer file</title>
</head>
<body id="zprint"><a name="zprint"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Define a printer file</h1>
<div><p>You can find rules and examples for filling in positions 1 through
44 of the data description specifications form for printer files in this topic.</p>
<div class="section"> <p>See <a href="rzakdmstprkey.htm#rzakdmstprkey">Keyword entries for printer files (positions 45 through 80)</a> to
see the rules for specifying the DDS keywords for printer files.</p>
<p>Specify
the entries in the following order to define a printer file:</p>
</div>
<ol><li><span>Optional--File-level entries</span></li>
<li><span>Record-level entries</span></li>
<li><span>Field-level entries</span></li>
</ol>
<div class="section"> <div class="p">Specify at least one record format in each file. The maximum number
of record formats in a printer file is 1024. The maximum number of fields
in any one record format is 32 767. The maximum combined length of all named
fields and indicators in a record format is 32 767 bytes. <div class="note"><span class="notetitle">Note:</span> Specify the
file name through the Create Printer File (CRTPRTF) command, not through DDS.</div>
</div>
<div class="p">See <a href="../dds/kickoff.htm">DDS concepts</a> for the following
general information: <ul><li>An explanation of file level, record level, and field level in the overview
topic.</li>
<li>A complete printer file example in the examples topic.</li>
<li>Syntax rules for specifying DDS keywords.</li>
</ul>
</div>
<p><a href="#zprint__ddsex">Figure 1</a> shows a printer file coding
example.</p>
<div class="fignone" id="zprint__ddsex"><a name="zprint__ddsex"><!-- --></a><span class="figcap">Figure 1. Printer file coding
example</span><div class="note"><span class="notetitle">Note:</span> By using the code examples, you agree to the terms of the <a href="codedisclaimer.htm">Code license and disclaimer information</a>.</div>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A* PRINTER FILE CODING EXAMPLE
00020A*
00030A R TITLER SKIPB(3)
00040A FLD1 40 47SPACEA(2) UNDERLINE
00050A 30 FLD2 40 47SPACEA(2) UNDERLINE
00060A*
00070A R AUTHORR
00080A 66'by'
00090A FIELD1 40 47SPACEB(1)
00100A 50DFT('Task Force I')
00110A 31 SPACEA(1)
00120A 31 65'and'
00130A 31 FIELD2 40 47
00140A*
00150A R PUBR SKIPB(58)
00160A 47'Published by Department'
00170A DEPT 3 0 +1
00180A 47DATE EDTCDE(Y)
00190A SPACEB(1)
00200A N15
00210AO 32 33 34 47TIME
00220A SPACEB(1)
A</pre>
</div>
</div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="conventermddsinfo.htm">Conventions and terminology used in the DDS information</a></strong><br />
This topic highlights the definitions of the conventions and terminology used in the DDS information.</li>
<li class="ulchildlink"><strong><a href="rzakdmstposy1.htm">Positional entries for printer files (positions 1 through 44)</a></strong><br />
You can find how to specify the first 44 positions of the data description specifications form for printer files in this topic.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="kickoff.htm" title="You can use data description specifications (DDS) to define printer files. This topic provides the information you need to code the positional and keyword entries that define these files.">DDS for printer files</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="../dds/rbafpmstsyntax.htm">Rules for DDS keywords and parameter values</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="../dds/examples.htm">DDS coding examples</a></div>
<div><a href="../rzalu/rzaluref.htm">Reference information related to printing</a></div>
</div>
</div>
</body>
</html>