76 lines
5.1 KiB
HTML
76 lines
5.1 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="reference" />
|
|
<meta name="DC.Title" content="Run a program with embedded SQL: Override considerations" />
|
|
<meta name="abstract" content="You can use overrides (specified by the OVRDBF command) to direct a reference to a different table or view or to change certain operational characteristics of the program or SQL Package." />
|
|
<meta name="description" content="You can use overrides (specified by the OVRDBF command) to direct a reference to a different table or view or to change certain operational characteristics of the program or SQL Package." />
|
|
<meta name="DC.subject" content="running, program with embedded SQL, override consideration, program, running with embedded SQL, override consideration, running a program with embedded SQL, command, Override Database File (OVRDBF), command (CL), OVRDBF (Override Database File), Override Database File (OVRDBF), OVRDBF (Override Database File)" />
|
|
<meta name="keywords" content="running, program with embedded SQL, override consideration, program, running with embedded SQL, override consideration, running a program with embedded SQL, command, Override Database File (OVRDBF), command (CL), OVRDBF (Override Database File), Override Database File (OVRDBF), OVRDBF (Override Database File)" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzajprunningpgm.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../dbp/rbafokickoff.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../dm/rbal3kickoff.htm" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="rzajprunningoverride" />
|
|
<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>Run a program with embedded SQL: Override considerations</title>
|
|
</head>
|
|
<body id="rzajprunningoverride"><a name="rzajprunningoverride"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Run a program with embedded SQL: Override considerations</h1>
|
|
<div><p>You can use overrides (specified by the <span class="cmdname">OVRDBF</span> command)
|
|
to direct a reference to a different table or view or to change certain operational
|
|
characteristics of the program or SQL Package.</p>
|
|
<div class="section"><p>The following parameters are processed if an override is specified: </p>
|
|
</div>
|
|
<div class="section"> <ul><li>TOFILE</li>
|
|
<li>MBR</li>
|
|
<li>SEQONLY</li>
|
|
<li>INHWRT</li>
|
|
<li>WAITRCD</li>
|
|
</ul>
|
|
</div>
|
|
<div class="section"><p>All other override parameters are ignored. Overrides of statements
|
|
in SQL packages are accomplished by doing both of the following: </p>
|
|
</div>
|
|
<div class="section"> <ol><li>Specifying the OVRSCOPE(*JOB) parameter on the <span class="cmdname">OVRDBF</span> command </li>
|
|
<li>Sending the command to the application server by using the <span class="cmdname">Submit
|
|
Remote Command (SBMRMTCMD)</span> command</li>
|
|
</ol>
|
|
</div>
|
|
<div class="section"><p>To override tables and views that are created with long names,
|
|
you can create an override using the system name that is associated with the
|
|
table or view. When the long name is specified in an SQL statement, the override
|
|
is found using the corresponding system name.</p>
|
|
</div>
|
|
<div class="section"><p>An alias is actually created as a DDM file. You can create an
|
|
override that refers to an alias name (DDM file). In this case, an SQL statement
|
|
that refers to the file that has the override actually uses the file to which
|
|
the alias refers.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzajprunningpgm.htm" title="Running a host language program with embedded SQL statements, after the precompile and compile have been successfully done, is the same as running any host program.">Run a program with embedded SQL</a></div>
|
|
</div>
|
|
<div class="relinfo"><strong>Related information</strong><br />
|
|
<div><a href="../dbp/rbafokickoff.htm">Database programming</a></div>
|
|
<div><a href="../dm/rbal3kickoff.htm">Database file management</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |