ibm-information-center/dist/eclipse/plugins/i5OS.ic.rbam6_5.4.0.1/pllib.htm

70 lines
4.2 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="Place objects in libraries" />
<meta name="abstract" content="When you create an object, it is placed in a library." />
<meta name="description" content="When you create an object, it is placed in a library." />
<meta name="DC.subject" content="library, placing object in, object, placing in library, placing object in library" />
<meta name="keywords" content="library, placing object in, object, placing in library, placing object in library" />
<meta name="DC.Relation" scheme="URI" content="uslib.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/crtlib.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/crtpf.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="pllib" />
<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>Place objects in libraries</title>
</head>
<body id="pllib"><a name="pllib"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Place objects in libraries</h1>
<div><p>When you create an object, it is placed in a library. </p>
<div class="section"><p> If you do not specify a library, the object is placed in the
current library for the job (*CURLIB) or, if there is no current library for
the job, in QGPL. When a library is created, you can specify the public authority
for objects created in the library by using the CRTAUT parameter on the <span class="cmdname">Create
Library (CRTLIB)</span> command. All objects placed in that library will
assume the specified public authority on the CRTAUT value of the library.
To specify a library, you specify a qualified name; that is, a library name
and an object name. For example, the following <span class="cmdname">Create Physical File
(CRTPF)</span> command creates an order entry physical file ORDHDRP to
be placed in DISTLIB.</p>
<pre>CRTPF FILE(DISTLIB/ORDHDRP)</pre>
<p>To place an object in a library, you must have read and add
authorities for the library.</p>
<p>More than one object of the same type cannot
have the same name and be in the same library. For example, two files with
the name ORDHDRP cannot both be in the library DISTLIB. If you try to place
into a library an object of the same name and type as an object already in
the library, the system rejects the request and sends you a message indicating
the reason.</p>
<div class="note"><span class="notetitle">Note:</span> Use the QSYS library for system objects only. Do not
restore other licensed programs to the QSYS library because changes are lost
when installing a new release of i5/OS™.</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="uslib.htm" title="A library is an object used to group related objects and to find objects by name. Thus, a library is a directory to a group of objects.">Use libraries</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../cl/crtlib.htm">Create Library (CRTLIB) command</a></div>
<div><a href="../cl/crtpf.htm">Create Physical File (CRTPF) command</a></div>
</div>
</div>
</body>
</html>