95 lines
6.1 KiB
HTML
95 lines
6.1 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="Control tape library resources using tape library attributes" />
|
||
|
<meta name="abstract" content="Depending on your business environment you might want to control the use of tape resources to allow important jobs to finish quickly. i5/OS provides several features for this." />
|
||
|
<meta name="description" content="Depending on your business environment you might want to control the use of tape resources to allow important jobs to finish quickly. i5/OS provides several features for this." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzam4usetapelib.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzam4chgmlbwithapi.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../rbam6/rbam6clmain.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2004, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="rzam4mla" />
|
||
|
<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>Control tape library resources using tape library attributes</title>
|
||
|
</head>
|
||
|
<body id="rzam4mla"><a name="rzam4mla"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Control tape library resources using tape library attributes</h1>
|
||
|
<div><p>Depending on your business environment you might want to control
|
||
|
the use of tape resources to allow important jobs to finish quickly. i5/OS™ provides
|
||
|
several features for this.</p>
|
||
|
<p>You can use the Change Job Media Library Attributes (CHGJOBMLBA) command
|
||
|
to change the priority of tape resource requests for a particular job, and
|
||
|
the Work with MLB Resource Queue (WRKMLBRSCQ) command to work with the tape
|
||
|
resource manager queue.</p>
|
||
|
<div class="section"><h4 class="sectiontitle">Change tape library job attributes</h4><p>The CHGJOBMLBA
|
||
|
command allows you to change the resource allocation attributes for your own
|
||
|
job or another user's job if you have *JOBCTL special authority. You can use
|
||
|
the resource allocation priority to change the priority of requests to use
|
||
|
a tape resource within a tape library. You can assign a higher priority to
|
||
|
certain jobs to allow them to get a tape resource as soon as one becomes available.
|
||
|
You can assign a lower priority to jobs that can wait until all other higher
|
||
|
priority jobs finish using the tape resources. Typically, very short-running
|
||
|
tape operations such as the dynamic retrieval of an object that was saved
|
||
|
storage free should be assigned a high resource allocation priority. Long-running
|
||
|
jobs that are not required to finish quickly, such as Duplicate Tape (DUPTAP)
|
||
|
or Display Tape (DSPTAP), can be assigned a lower resource allocation priority.</p>
|
||
|
<p>You
|
||
|
can also add *MLBA to either the Work with Job (WRKJOB) or Display Job (DSPJOB)
|
||
|
command in order to view or adjust your tape library attributes.</p>
|
||
|
</div>
|
||
|
<div class="section"><h4 class="sectiontitle">Change access to a tape resource within a library</h4><p>The
|
||
|
WRKMLBRSCQ command allows you to manipulate the requests to use a tape resource
|
||
|
within a tape media library. The WRKMLBRSCQ command shows the resources that
|
||
|
are currently processing a request, have a category mounted, or the requests
|
||
|
that are waiting to be assigned a tape resource. You can change the resource
|
||
|
allocation attributes for requests that are waiting to use a tape resource
|
||
|
by using option 2 (Change Request MLB Attributes) on the Work with MLB Resource
|
||
|
Queue (WRKMLBRSCQ) display. The attributes for the next request can be changed
|
||
|
by using the CHGJOBMLBA command to change the resource allocation attributes
|
||
|
for the job that is currently using the tape resource. You can do this by
|
||
|
using option 5 (Work with job) on the Work with MLB Resource Queue (WRKMLBRSCQ)
|
||
|
display, and then selecting option 21 (Work with media library attributes).</p>
|
||
|
<p>There
|
||
|
are times when a request will show a priority of 0. These requests are for
|
||
|
when a tape resource is being used by the system for a tape operation. An
|
||
|
example is when a tape command using ENDOPT(*UNLOAD) is completed and the
|
||
|
system is still unloading the cartridge.</p>
|
||
|
</div>
|
||
|
<div class="section"><h4 class="sectiontitle">Change tape library attributes with APIs</h4><p>You can
|
||
|
use the Retrieve Job Media Library Attributes (QTARJMA) and Change Job Media
|
||
|
Library Attributes (QTACJMA) APIs to control tape library attributes programmatically.
|
||
|
For a more detailed description and an example, see Control tape library attributes
|
||
|
with APIs.</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<ul class="ullinks">
|
||
|
<li class="ulchildlink"><strong><a href="rzam4chgmlbwithapi.htm">Control tape library resources with APIs</a></strong><br />
|
||
|
Use the QTARJMA and QTACJMA APIs to retrieve and to change the tape library attributes for a specific job.</li>
|
||
|
</ul>
|
||
|
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzam4usetapelib.htm" title="This topic provides usage and management information for tape libraries.">Use tape libraries</a></div>
|
||
|
</div>
|
||
|
<div class="relinfo"><strong>Related information</strong><br />
|
||
|
<div><a href="../rbam6/rbam6clmain.htm">Control language (CL)</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|