76 lines
4.4 KiB
HTML
76 lines
4.4 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="concept" />
|
|
<meta name="DC.Title" content="Create a library" />
|
|
<meta name="abstract" content="A library is a system object that serves as a directory to other objects. It groups related objects and allows the user to find objects by name." />
|
|
<meta name="description" content="A library is a system object that serves as a directory to other objects. It groups related objects and allows the user to find objects by name." />
|
|
<meta name="DC.subject" content="creating, library" />
|
|
<meta name="keywords" content="creating, library" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbafocrtdbf.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../cl/crtlib.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="rbafocrtlib" />
|
|
<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>Create a library</title>
|
|
</head>
|
|
<body id="rbafocrtlib"><a name="rbafocrtlib"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Create a library</h1>
|
|
<div><p>A library is a system object that serves as a directory to other
|
|
objects. It groups related objects and allows the user to find objects by
|
|
name.</p>
|
|
<div class="p">The system-recognized identifier for the object type is *LIB. Before you
|
|
can create a database file, you must create a library to store it. You can
|
|
create a library in the following ways: <ul><li>You can use iSeries™ Navigator
|
|
to create a library (in SQL, called a schema). </li>
|
|
<li>You can use the Create Library (CRTLIB) command to create the library. </li>
|
|
</ul>
|
|
</div>
|
|
<p>When creating a library, you can specify the auxiliary storage pool (ASP)
|
|
where the library is to be stored. This allows you to create multiple, separate
|
|
databases.</p>
|
|
<div class="section" id="rbafocrtlib__rbafocrtlibon"><a name="rbafocrtlib__rbafocrtlibon"><!-- --></a><h4 class="sectiontitle">Create a library (schema) using iSeries Navigator</h4><p>Learn
|
|
how to create a library (in SQL, called schema) using iSeries Navigator.</p>
|
|
<ol><li>From iSeries Navigator,
|
|
expand the system you want to use.</li>
|
|
<li>Expand <span class="uicontrol">Databases</span> and the database that you want
|
|
to work with.</li>
|
|
<li>Right-click <span class="uicontrol">Schemas</span> and click <span class="uicontrol">New Schema</span>.</li>
|
|
<li>On the New Schema window, specify a schema name.</li>
|
|
<li>To add this schema to the list of schemas displayed, select <span class="uicontrol">Add
|
|
to displayed list of schemas</span>.</li>
|
|
<li>To create as a standard schema, select <span class="uicontrol">Create
|
|
as a standard schema</span>.</li>
|
|
<li>To create a data dictionary, select <span class="uicontrol">Create
|
|
a data dictionary</span>.</li>
|
|
<li>Specify a disk pool to contain the schema.</li>
|
|
<li>Specify a description.</li>
|
|
<li>Click <span class="uicontrol">OK</span>.</li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafocrtdbf.htm" title="This topic provides an overview of the process of creating database files, libraries, source files, and physical files.">Create and describe database files</a></div>
|
|
</div>
|
|
<div class="relref"><strong>Related reference</strong><br />
|
|
<div><a href="../cl/crtlib.htm">Create Library (CRTLIB) command</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |