ibm-information-center/dist/eclipse/plugins/i5OS.ic.ddp_5.4.0.1/rbal1systemname.htm

60 lines
3.6 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="System (*SYS) naming convention" />
<meta name="abstract" content="When you use the system naming convention, files are qualified by library name in the form library/file." />
<meta name="description" content="When you use the system naming convention, files are qualified by library name in the form library/file." />
<meta name="DC.subject" content="system, naming convention, application program, system naming convention" />
<meta name="keywords" content="system, naming convention, application program, system naming convention" />
<meta name="DC.Relation" scheme="URI" content="rbal1naming.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="rbal1systemname" />
<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>System (*SYS) naming convention</title>
</head>
<body id="rbal1systemname"><a name="rbal1systemname"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">System (*SYS) naming convention</h1>
<div><p>When you use the system naming convention, files are qualified
by library name in the form <em>library/file</em>. </p>
<div class="section"><p>Tables created using this naming convention assume the public
authority of the library in which they are created. If the table name is not
explicitly qualified and a default collection name is used in the DFTRDBCOL
parameter of the CRTSQL<em>xxx</em> or CRTSQLPKG command, the default
collection name is used for static SQL statements. If the file name is not
explicitly qualified and the default collection name is not specified, the
following rules apply: </p>
<ul><li>All SQL statements except certain CREATE statements cause SQL to search
the library list (*LIBL) for the unqualified file.</li>
<li>The CREATE statements resolve to unqualified objects as follows: <ul><li>CREATE TABLE: The table name must be explicitly qualified.</li>
<li>CREATE VIEW: The view is created in the first library referred to in the
subselect.</li>
<li>CREATE INDEX: The index is created in the collection or library that contains
the table on which the index is being built.</li>
</ul>
</li>
</ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal1naming.htm" title="SQL objects are created and maintained as iSeries server objects.">Naming of distributed relational database objects</a></div>
</div>
</div>
</body>
</html>