128 lines
7.6 KiB
HTML
128 lines
7.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="topic" />
|
||
|
<meta name="DC.Title" content="Multiple system libraries" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzalyhowiaspswork.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2002, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2002, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="rzalymultiplesystemlibraries" />
|
||
|
<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>Multiple system libraries</title>
|
||
|
</head>
|
||
|
<body id="rzalymultiplesystemlibraries"><a name="rzalymultiplesystemlibraries"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Multiple system libraries</h1>
|
||
|
<div><p>In general, all system libraries continue to exist in the system disk
|
||
|
pool. However, to support better isolation and recovery of the independent
|
||
|
disk pool group containing system libraries, the following instances of system
|
||
|
libraries are also created in the primary disk pool:</p>
|
||
|
<ol><li><strong>QSYSnnnnn</strong>: This contains the database cross reference information
|
||
|
for the database represented by the disk pool group. Normally only internal
|
||
|
system code creates objects into this library.</li>
|
||
|
<li><strong>QSYS2nnnnn</strong>: This contains the SQL catalogues for the database
|
||
|
represented by the disk pool group. Normally only internal system code creates
|
||
|
objects into this library.</li>
|
||
|
<li><strong>QRCYnnnnn</strong>: Any recovery object associated with objects within the
|
||
|
disk pool group is stored in this library for the primary disk pool for
|
||
|
the group. These objects may be needed for recovery when the disk pool group
|
||
|
is varied on. The system disk pool equivalent of this library is QRECOVERY
|
||
|
.</li>
|
||
|
<li><strong>QRCLnnnnn</strong>: When the reclaim instance is run on the disk pool group,
|
||
|
any resulting information normally stored in QRCL is now stored in the QRCL
|
||
|
of the primary disk pool for the group. Normally only functions called during
|
||
|
reclaim storage processing create objects into this library instance. Also,
|
||
|
when reclaim storage recovers the addressability of lost objects, these objects
|
||
|
can be inserted into the QRCLnnnnn library. These are user objects that originally
|
||
|
existed in another library. </li>
|
||
|
<li><strong>QRPLnnnnn</strong>: Whenever an object contained within the disk pool group
|
||
|
is replaced while it is in use, the in-use object is renamed and moved to
|
||
|
the QRPLnnnnn library in the primary disk pool for the group. The new object
|
||
|
is inserted into the specified library. The system disk pool equivalent of
|
||
|
this library is QRPLOBJ. QRPLnnnnn is cleared at vary on.</li>
|
||
|
</ol>
|
||
|
<p>In the above, nnnnn is the independent disk pool number right-aligned and
|
||
|
padded with zeros.</p>
|
||
|
<p>One new library attribute, Protected, is introduced to support the extended
|
||
|
library capability. Since the libraries QSYSnnnnn, QSYS2nnnnn, and SYSIBnnnnn
|
||
|
are special versions that correspond to the system libraries, only operating
|
||
|
system code can create objects into them. Applications cannot create objects
|
||
|
into these libraries.</p>
|
||
|
<div class="section"><h4 class="sectiontitle">Library attribute settings</h4><div class="p">
|
||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="100%" frame="border" border="1" rules="all"><thead align="left"><tr class="tablemainheaderbar"><th class="oddrowblue" align="left" valign="top" width="15%" id="d0e50">Library</th>
|
||
|
<th class="oddrowblue" align="left" valign="top" width="15%" id="d0e52">*SYSBAS library</th>
|
||
|
<th class="oddrowblue" align="center" valign="top" width="35%" id="d0e54">Protected in
|
||
|
independent disk pool</th>
|
||
|
<th class="oddrowblue" align="center" valign="top" width="35%" id="d0e56">Protected
|
||
|
in system disk pool</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody><tr><td align="left" valign="top" width="15%" headers="d0e50 ">QSYSnnnnn</td>
|
||
|
<td align="left" valign="top" width="15%" headers="d0e52 ">QSYS</td>
|
||
|
<td align="center" valign="top" width="35%" headers="d0e54 ">Yes </td>
|
||
|
<td align="center" valign="top" width="35%" headers="d0e56 ">No</td>
|
||
|
</tr>
|
||
|
<tr><td align="left" valign="top" width="15%" headers="d0e50 ">QSYS2nnnnn</td>
|
||
|
<td align="left" valign="top" width="15%" headers="d0e52 ">QSYS2</td>
|
||
|
<td align="center" valign="top" width="35%" headers="d0e54 ">Yes</td>
|
||
|
<td align="center" valign="top" width="35%" headers="d0e56 ">No</td>
|
||
|
</tr>
|
||
|
<tr><td align="left" valign="top" width="15%" headers="d0e50 ">SYSIBnnnnn</td>
|
||
|
<td align="left" valign="top" width="15%" headers="d0e52 ">SYSIBM </td>
|
||
|
<td align="center" valign="top" width="35%" headers="d0e54 ">Yes</td>
|
||
|
<td align="center" valign="top" width="35%" headers="d0e56 ">No</td>
|
||
|
</tr>
|
||
|
<tr><td align="left" valign="top" width="15%" headers="d0e50 ">QRCLnnnnn</td>
|
||
|
<td align="left" valign="top" width="15%" headers="d0e52 ">QRCL</td>
|
||
|
<td align="center" valign="top" width="35%" headers="d0e54 ">No</td>
|
||
|
<td align="center" valign="top" width="35%" headers="d0e56 ">No</td>
|
||
|
</tr>
|
||
|
<tr><td align="left" valign="top" width="15%" headers="d0e50 ">QRCYnnnnn</td>
|
||
|
<td align="left" valign="top" width="15%" headers="d0e52 ">QRECOVERY</td>
|
||
|
<td align="center" valign="top" width="35%" headers="d0e54 ">No</td>
|
||
|
<td align="center" valign="top" width="35%" headers="d0e56 ">No</td>
|
||
|
</tr>
|
||
|
<tr><td align="left" valign="top" width="15%" headers="d0e50 ">QRPLnnnnn</td>
|
||
|
<td align="left" valign="top" width="15%" headers="d0e52 ">QRPLOBJ</td>
|
||
|
<td align="center" valign="top" width="35%" headers="d0e54 ">No</td>
|
||
|
<td align="center" valign="top" width="35%" headers="d0e56 ">No</td>
|
||
|
</tr>
|
||
|
<tr><td align="left" valign="top" width="15%" headers="d0e50 ">All user libs</td>
|
||
|
<td align="left" valign="top" width="15%" headers="d0e52 ">Not applicable</td>
|
||
|
<td align="center" valign="top" width="35%" headers="d0e54 ">No</td>
|
||
|
<td align="center" valign="top" width="35%" headers="d0e56 ">No</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
</div>
|
||
|
<p>The normal search order for objects is to search the libraries
|
||
|
based on the user-specified library value, the user's library list, and the
|
||
|
namespace in effect for the job. The only exception to this occurs when the
|
||
|
user job has a disk pool group in the job's namespace. In this case, aliasing
|
||
|
support takes effect for object references to the database control objects
|
||
|
in QSYS, QSYS2, and SYSIBM. The objects in the QSYSnnnnn, QSYS2nnnnn, and
|
||
|
SYSIBnnnnn libraries are returned so that users are operating on the database
|
||
|
control information associated with their extended namespace. </p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzalyhowiaspswork.htm">How independent disk pools work</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|