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

89 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="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="Overrides: An overview" />
<meta name="abstract" content="An override is a CL command that temporarily changes a file name, a device name, or remote location name associated with the file, or some of the other attributes of a file." />
<meta name="description" content="An override is a CL command that temporarily changes a file name, a device name, or remote location name associated with the file, or some of the other attributes of a file." />
<meta name="DC.subject" content="overriding file, description, override, overriding file, commands used, file, commands used for, command, CL, overrides, used for, message files, difference from changing, attribute, changing, overrides versus changing, changing versus overrides" />
<meta name="keywords" content="overriding file, description, override, overriding file, commands used, file, commands used for, command, CL, overrides, used for, message files, difference from changing, attribute, changing, overrides versus changing, changing versus overrides" />
<meta name="DC.Relation" scheme="URI" content="rbal3override.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal3ovrben.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal3ovrcmds.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal3eoscd.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal3mtcrest.htm" />
<meta name="DC.Relation" scheme="URI" content="../rbam6/rbam6clmain.htm" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbal3ovrint" />
<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>Overrides: An overview</title>
</head>
<body id="rbal3ovrint"><a name="rbal3ovrint"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Overrides: An overview</h1>
<div><p>An <dfn class="term">override</dfn> is a CL command that temporarily changes
a file name, a device name, or remote location name associated with the file,
or some of the other attributes of a file.</p>
<p>You can enter override commands interactively from a display station or
submit them as part of a batch job. You can include them in a control language
(CL) program, or issue them from other programs by calling the program QCMDEXC.
Regardless of how they are issued, overrides remain in effect only for the
job, program, or display station session in which they are issued. Furthermore,
they have no effect on other jobs that might be running at the same time.</p>
<p>When you create an application program, the file names specified in the
program associate files with it. The server lets you override these file names
or the attributes of the specified file when you compile a program or run
a program.</p>
<p>You can use overrides to change most, but not all, of the file attributes
that are specified when the file is created. In some cases, you can specify
attributes in overrides that are not part of the original file definition.</p>
<p>Overriding a file is different from changing a file in that an override
does not permanently change the attributes of a file. For example, if you
override the number of copies for a printer file by requesting six copies
instead of two, the file description for the printer file still specifies
two copies, but six copies are printed. The server uses the file override
command to determine which file to open and what its file attributes are.</p>
<div class="p">The server supplies three override functions: <ul><li><a href="rbal3applyovr.htm#rbal3applyovr">Apply overrides</a></li>
<li><a href="rbal3deover.htm#rbal3deover">Delete overrides</a></li>
<li><a href="rbal3diover.htm#rbal3diover">Display overrides</a></li>
</ul>
</div>
<p>Handling overrides for message files is different in some respects from
handling overrides for other files. You can override only the name of the
message file, and not the attributes.</p>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rbal3ovrben.htm">Benefits of using overrides</a></strong><br />
Overrides are particularly useful for making minor changes to the way a program functions or for selecting the data on which it operates without having to recompile the program. Their principal value is in allowing you to use general purpose programs in a wider variety of circumstances.</li>
<li class="ulchildlink"><strong><a href="rbal3ovrcmds.htm">Summary of the override commands</a></strong><br />
You can process override functions for files by using the CL commands including DLTOVR, DSPOVR, OVRDBF, and so on.</li>
<li class="ulchildlink"><strong><a href="rbal3eoscd.htm">Effect of overrides on some commands</a></strong><br />
Some commands ignore overrides entirely, while others allow overrides only for certain parameters.</li>
<li class="ulchildlink"><strong><a href="rbal3mtcrest.htm">Use overrides in multithreaded jobs</a></strong><br />
You can use the OVRDBF, OVRPRTF, OVRMSGF, and DLTOVR commands in a multithreaded job with some restrictions.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal3override.htm" title="You can use overrides to temporarily change a file name, a device name associated with the file, or some of the other attributes of a file.">Use overrides</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../rbam6/rbam6clmain.htm">Control language (CL)</a></div>
</div>
</div>
</body>
</html>