ibm-information-center/dist/eclipse/plugins/i5OS.ic.apis_5.4.0.1/XEZUCLNP.htm

108 lines
3.6 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
<title>Exit Program for Tailoring Automatic Cleanup</title>
<!-- 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. -->
<!-- Begin Header Records ========================================== -->
<!-- NETMG2 SCRIPT A converted by B2H R4.1 (346) (CMS) by HOLTJM at -->
<!-- RCHVMW2 on 29 Jan 1999 at 10:01:37 -->
<!-- File edited Sept 2001 -->
<!--End Header Records -->
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body>
<a name="Top_Of_Page"></a>
<!-- Java sync-link -->
<script type="text/javascript" language="Javascript" src="../rzahg/synch.js">
</script>
<h2>Exit Program for Tailoring Automatic Cleanup</h2>
<p>You may want to develop your own programs to regularly clean up some of the
objects that are not handled by the Operational Assistant automatic cleanup
functions.</p>
<p>You can incorporate your own programs into the IBM-supplied automatic
cleanup function by using the QEZUSRCLNP program. Then, whenever the system
runs automatic cleanup, it also runs your own cleanup programs.</p>
<p>To make a copy of the QEZUSRCLNP program:</p>
<ol>
<li>Type <samp>RTVCLSRC</samp> (the Retrieve CL Source command) on any command
line and press F4 (Prompt). Type the following values for the prompts:<br>
<br>
<table cellpadding="3">
<!-- cols="15 85" -->
<tr>
<td align="left" valign="top"><em>Program</em></td>
<td align="left" valign="top">QEZUSRCLNP</td>
</tr>
<tr>
<td align="left" valign="top"><em>Library</em></td>
<td align="left" valign="top">QSYS</td>
</tr>
<tr>
<td align="left" valign="top"><em>Source file</em></td>
<td align="left" valign="top">Name of source file</td>
</tr>
<tr>
<td align="left" valign="top"><em>Library</em></td>
<td align="left" valign="top">Name of library</td>
</tr>
</table>
<p>Press the Enter key.</p>
</li>
<li>Insert statements that run your own cleanup programs into your copy of
QEZUSRCLNP.<br>
<br>
</li>
<li>Compile your copy of the QEZUSRCLNP program and store it in a library that
appears before the QSYS library in the system part of the library list as
specified in system value QSYSLIBL.</li>
</ol>
<p>Whenever the system runs the automatic cleanup function, your version of
QEZUSRCLNP is also run.</p>
<p><strong>Note:</strong> When Operational Assistant batch cleanup program is
running, it uses QUSRSYS library or QEZPWRCLN user index. The cleanup may
encounter difficulties if other jobs are also using the same library or user
index at this time. Therefore, avoid starting such command as SAVLIB QUSRSYS,
or the power schedule commands in the QEZUSRCLNP CL program. If you must start
those commands, consider adding them to the Exit Program for Tailoring Power
Off (QEZPWROFFP), or changing the subsystem that runs your cleanup jobs to
allow only two jobs to run at the same time.</p>
<hr>
Exit program introduced: V2R1
<hr>
<center>
<table cellpadding="2" cellspacing="2">
<tr align="center">
<td valign="middle" align="center"><a href="#Top_Of_Page">Top</a> | <a href=
"oa1.htm">Operational Assistant APIs</a> | <a href="aplist.htm">APIs by
category</a></td>
</tr>
</table>
</center>
</body>
</html>