ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzajq_5.4.0.1/rzajqiniauth.htm

62 lines
4.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="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="QAQQINI query options file authority requirements" />
<meta name="abstract" content="QAQQINI is shipped with a *PUBLIC *USE authority. This allows users to view the query options file, but not change it. Because changing the values of the QAQQINI file affect all queries that are run on the system, only the system or database administrator should have *CHANGE authority to the QAQQINI query options file." />
<meta name="description" content="QAQQINI is shipped with a *PUBLIC *USE authority. This allows users to view the query options file, but not change it. Because changing the values of the QAQQINI file affect all queries that are run on the system, only the system or database administrator should have *CHANGE authority to the QAQQINI query options file." />
<meta name="DC.Relation" scheme="URI" content="qryoptf.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="rzajqiniauth" />
<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>QAQQINI query options file authority requirements</title>
</head>
<body id="rzajqiniauth"><a name="rzajqiniauth"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">QAQQINI query options file authority requirements</h1>
<div><p>QAQQINI is shipped with a *PUBLIC *USE authority. This allows users
to view the query options file, but not change it. Because changing the values
of the QAQQINI file affect all queries that are run on the system, only the
system or database administrator should have *CHANGE authority to the QAQQINI
query options file.</p>
<div class="section"><p>The query options file, which resides in the library specified
on the <span class="cmdname">Change Query Attributes (CHGQRYA)</span> CL command QRYOPTLIB
parameter, is always used by the query optimizer. This is true even if the
user has no authority to the query options library and file. This provides
the system administrator with an additional security mechanism.</p>
</div>
<div class="section"><p>When the QAQQINI file resides in the library QUSRSYS the query
options will effect all of the query users on the server. To prevent anyone
from inserting, deleting, or updating the query options, the system administrator
should remove update authority from *PUBLIC to the file. This will prevent
users from changing the data in the file.</p>
</div>
<div class="section"><p>When the QAQQINI file resides in a user library and that library
is specified on the QRYOPTLIB parameter of the <span class="cmdname">Change Query Attributes
(CHGQRYA)</span> command, the query options will effect all
of the queries run for that user's job. To prevent the query options from
being retrieved from a particular library the system administrator can revoke
authority to the <span class="cmdname">Change Query Attributes (CHGQRYA)</span> CL command.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="qryoptf.htm" title="The query options file QAQQINI support provides the ability to dynamically modify or override the environment in which queries are executed through the Change Query Attributes (CHGQRYA) command and the QAQQINI file. The query options file QAQQINI is used to set some attributes used by the database manager.">Control queries dynamically with the query options file QAQQINI</a></div>
</div>
</div>
</body>
</html>