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

88 lines
5.7 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: Applying OVRPRTF with *PRTF from multiple call levels" />
<meta name="abstract" content="The example in this topic shows how printer-file overrides are applied from multiple call levels by using the *PRTF value." />
<meta name="description" content="The example in this topic shows how printer-file overrides are applied from multiple call levels by using the *PRTF value." />
<meta name="DC.subject" content="Override with Printer File (OVRPRTF) command, multiple call level example, OVRPRTF (Override with Printer File) command, multiple call level example, nested call, file example, override, multiple call levels, printer file example" />
<meta name="keywords" content="Override with Printer File (OVRPRTF) command, multiple call level example, OVRPRTF (Override with Printer File) command, multiple call level example, nested call, file example, override, multiple call levels, printer file example" />
<meta name="DC.Relation" scheme="URI" content="rbal3aofmcl.htm" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbal3aopmcl" />
<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: Applying OVRPRTF with *PRTF from multiple call levels</title>
</head>
<body id="rbal3aopmcl"><a name="rbal3aopmcl"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Example: Applying OVRPRTF with *PRTF from multiple call levels</h1>
<div><p>The example in this topic shows how printer-file overrides are
applied from multiple call levels by using the *PRTF value.</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>
<div class="fignone"><span class="figcap">Figure 1. An example of printer-file overrides</span>. <span class="figdesc">By using the
*PRTF value, you can apply printer-file overrides from multiple call levels.</span><p>                   Program A<br />
Override 1    <samp class="codeph">OVRPRTF FILE(*PRTF) COPIES(1)</samp><br />
Override 2    <samp class="codeph">OVRPRTF FILE(PRT2) COPIES(2)</samp><br />
Override 3    <samp class="codeph">OVRPRTF FILE(PRT4) COPIES(2)</samp><br />
                  <samp class="codeph">CALL PGM(B)</samp><br />
<br />
                      Program B<br />
Override 4       <samp class="codeph">OVRPRTF FILE(*PRTF) LPI(4)</samp><br />
Override 5       <samp class="codeph">OVRPRTF FILE(PRT3) LPI(8)</samp><br />
Override 6       <samp class="codeph">OVRPRTF FILE(PRT4) LPI(8)</samp><br />
                     <samp class="codeph">CALL PGM(X)</samp></p>
</div>
<div class="p">When program X opens the file PRT1, the opened file has the following attributes: <dl><dt class="dlterm">COPIES(1)</dt>
<dd>From Override 1</dd>
<dt class="dlterm">LPI(4)</dt>
<dd>From Override 4</dd>
</dl>
</div>
<p>Because no specific overrides are found for PRT1, *PRTF overrides (1 and
4) are applied.</p>
<div class="p">When program X opens the file PRT2, the opened file has the following attributes: <dl><dt class="dlterm">COPIES(2)</dt>
<dd>From Override 2</dd>
<dt class="dlterm">LPI(4)</dt>
<dd>From Override 4</dd>
</dl>
</div>
<p>Because no specific override is found for PRT2 in program B, override 4
is applied. In program A, override 2 specifies PRT2 and is applied.</p>
<div class="p">When program X opens the file PRT3, the opened file has the following attributes: <dl><dt class="dlterm">COPIES(1)</dt>
<dd>From Override 1</dd>
<dt class="dlterm">LPI(8)</dt>
<dd>From Override 5</dd>
</dl>
</div>
<p>In program B, override 5 specifies PRT3 and is applied. Because no specific
override is found for PRT3 in program A, override 1 is applied.</p>
<div class="p">When program X opens the file PRT4, the opened file has the following attributes: <dl><dt class="dlterm">COPIES(2)</dt>
<dd>From Override 3</dd>
<dt class="dlterm">LPI(8)</dt>
<dd>From Override 6</dd>
</dl>
</div>
<p>In program B, override 6 specifies PRT4 and is applied. In program A, override
3 specifies PRT4 and is applied.</p>
</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>