ibm-information-center/dist/eclipse/plugins/i5OS.ic.dm_5.4.0.1/rbal3aop.htm

67 lines
4.8 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="copyright" content="(C) Copyright IBM Corporation 2005" />
<meta name="DC.rights.owner" content="(C) Copyright IBM Corporation 2005" />
<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="Example: Apply OVRPRTF with *PRTF" />
<meta name="abstract" content="You can apply the OVRPRTF command to all printer files by specifying *PRTF as the file name. The OVRPRTF command with *PRTF is applied if there is no other override for the printer file name at the same call level." />
<meta name="description" content="You can apply the OVRPRTF command to all printer files by specifying *PRTF as the file name. The OVRPRTF command with *PRTF is applied if there is no other override for the printer file name at the same call level." />
<meta name="DC.subject" content="command, CL, OVRPRTF (Override with Printer File), same call level example, Override with Printer File (OVRPRTF), same call level example, Override with Printer File (OVRPRTF) command, OVRPRTF (Override with Printer File) command, same call level example" />
<meta name="keywords" content="command, CL, OVRPRTF (Override with Printer File), same call level example, Override with Printer File (OVRPRTF), same call level example, Override with Printer File (OVRPRTF) command, OVRPRTF (Override with Printer File) command, same call level example" />
<meta name="DC.Relation" scheme="URI" content="rbal3aofmcl.htm" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbal3aop" />
<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>Example: Apply OVRPRTF with *PRTF</title>
</head>
<body id="rbal3aop"><a name="rbal3aop"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Example: Apply OVRPRTF with *PRTF</h1>
<div><p>You can apply the OVRPRTF command to all printer files by specifying
*PRTF as the file name. The OVRPRTF command with *PRTF is applied if there
is no other override for the printer file name at the same call level.</p>
<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>
<p>The following example shows how *PRTF works:</p>
<div class="fignone"><span class="figcap">Figure 1. An example of the OVRPRTF command and the *PRTF parameter</span>. <span class="figdesc">The figure gives an example of the <a href="../cl/ovrprtf.htm">OVRPRTF</a> command
and the *PRTF parameter.</span><p>Override 1    <samp class="codeph">OVRPRTF FILE(OUTPUT) COPIES(6) +</samp><br />
<br />
                            <samp class="codeph">LPI(6)</samp><br />
Override 2    <samp class="codeph">OVRPRTF FILE(*PRTF) COPIES(1) +</samp><br />
                            <samp class="codeph">LPI(8)</samp><br />
                  <samp class="codeph">CALL PGM(X)</samp></p>
</div>
<div class="p">When program X opens the file OUTPUT, the opened file has the following
attributes: <dl><dt class="dlterm">COPIES(6)</dt>
<dd>From Override 1</dd>
<dt class="dlterm">LPI(6)</dt>
<dd>From Override 1</dd>
</dl>
</div>
<div class="p">When program X opens the file PRTOUT (or any printer file other than OUTPUT),
the opened file has the following attributes: <dl><dt class="dlterm">COPIES(1)</dt>
<dd>From Override 2</dd>
<dt class="dlterm">LPI(8)</dt>
<dd>From Override 2</dd>
</dl>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal3aofmcl.htm" title="The OVRPRTF command allows you to have one override for all the printer files in your job with the same set of values. Without the generic override, you would need to do a separate override for each of the printer files.">Use a generic override for printer files</a></div>
</div>
</div>
</body>
</html>