66 lines
3.8 KiB
HTML
66 lines
3.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="concept" />
|
||
|
<meta name="DC.Title" content="DDS syntax for a printer file" />
|
||
|
<meta name="DC.subject" content="printer files, syntax coding examples" />
|
||
|
<meta name="keywords" content="printer files, syntax coding examples" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="syntaxexam.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1999, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1999, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="prtfexam" />
|
||
|
<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>DDS syntax for a printer file</title>
|
||
|
</head>
|
||
|
<body id="prtfexam"><a name="prtfexam"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">DDS syntax for a printer file</h1>
|
||
|
<div><div class="fignone"><br /><img src="rv2f118.gif" alt="Syntax for a Printer File.
An illustration of a DDS coding form that describes a printer file." /><br /></div>
|
||
|
<dl><dt class="dlterm"><span>1</span></dt>
|
||
|
<dd>Comments (optional): Comments can appear on any line in DDS. They are
|
||
|
identified by an asterisk in position 7.</dd>
|
||
|
<dt class="dlterm"><span>2</span></dt>
|
||
|
<dd>File level (optional): File-level keywords appear before the first record
|
||
|
format name (RECORDA on line 00040).</dd>
|
||
|
<dt class="dlterm"><span>3</span></dt>
|
||
|
<dd>Record level (at least one required): R in position 17 identifies RECORDA
|
||
|
as a record format name. The record level continues until the first field
|
||
|
is specified.</dd>
|
||
|
<dt class="dlterm"><span>4</span></dt>
|
||
|
<dd>Field level (at least one field, whether
|
||
|
named or unnamed, is required in each record format in the file): Printer
|
||
|
file fields that are passed from the program to the printer must be named
|
||
|
fields and must have a length specified. Other attributes can be specified
|
||
|
explicitly or by default. Constant (unnamed) fields require only a location
|
||
|
and a keyword, as described in the DATE, DFT, PAGNBR, TIME, and MSGCON keyword
|
||
|
descriptions in <a href="../rzakd/rzakdmstprkey.htm">Keyword
|
||
|
entries for printer files (positions 45 through 80)</a>.</dd>
|
||
|
</dl>
|
||
|
<div class="note"><span class="notetitle">Notes:</span> <ol><li>Items <span>3</span> and <span>4</span> can be repeated to specify new record
|
||
|
formats within the printer file.</li>
|
||
|
<li>See the <a href="../rzakd/rzakdmstposy1.htm">Positional
|
||
|
entries for printer files</a> topic for a description of each of the columns
|
||
|
shown in the figure.</li>
|
||
|
</ol>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="syntaxexam.htm" title="These topics provide syntax coding examples. Except for HLPARA, JFILE, JFLD, and PFILE, the keywords shown in these examples are not actual keywords. They indicate where you should specify the keywords.">Examples: DDS syntax coding</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|