ibm-information-center/dist/eclipse/plugins/i5OS.ic.ifs_5.4.0.1/rzaaxusedata.htm

64 lines
4.5 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="Use the data of RTVDIRINF" />
<meta name="abstract" content="Here are examples that display why the data is important or how you can use the data that is produced from each of the three tables." />
<meta name="description" content="Here are examples that display why the data is important or how you can use the data that is produced from each of the three tables." />
<meta name="DC.Relation" scheme="URI" content="rzaaxwwcomm.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1999, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1999, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzaaxusedata" />
<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>Use the data of RTVDIRINF</title>
</head>
<body id="rzaaxusedata"><a name="rzaaxusedata"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Use the data of <span class="cmdname">RTVDIRINF</span></h1>
<div><p>Here are examples that display why the data is important or how
you can use the data that is produced from each of the three tables.</p>
<div class="section"> <ul><li>For <a href="rzaaxwwcomm.htm#rzaaxwwcomm__rzaaxstrobj">Table 1</a>, you
can make queries to create reports or statistics based on any of the fields
within this table. <span class="cmdname">PRTDIRINF</span> does not include reports based
on all of the fields. Instead, a subset will be used.</li>
<li>The data from <a href="rzaaxwwcomm.htm#rzaaxwwcomm__rzaaxstrdir">Table 2</a> contains
all the directories within the path specified in DIR parameter of the <span class="cmdname">RTVDIRINF</span> command.
If you want to know specific attributes about the path name, for example the
CCSID, language ID, or length, then this data would be useful. Also, each
directory stored in this table has a unique value, or index that identifies
it. In <a href="rzaaxwwcomm.htm#rzaaxwwcomm__rzaaxstrobj">Table 1</a>, you
can find the same field, QEZDIRIDX, that will tell you which objects belong
to which directory. To find which objects belong to which directory, you can
make a query using joins. For example, the following query statement selects
the names of all objects existing in directory "/MYDIR": <pre>SELECT QEZOBJNAM FROM library_name/QAEZxxxxO, library_name/QAEZxxxxD WHERE QEZDIRNAM1 = "/MYDIR" AND
library_name/QAEZxxxxO.QEZDIRIDX=library_name/QAEZxxxxD.QEZDIRIDX</pre>
</li>
<li><a href="rzaaxwwcomm.htm#rzaaxwwcomm__rzaaxstrfil">Table 3</a> is mostly
used by <span class="cmdname">PRTDIRINF</span> command to obtain specific data about <span class="cmdname">RTVDIRINF</span> runs.
Examples of this are: The names of the tables created, the library where the
tables reside, and the starting and ending time of processing. You might use
this table to know when a <span class="cmdname">RTVDIRINF</span> was issued or what
tables must be searched in order to query them.</li>
</ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaaxwwcomm.htm" title="The Retrieve Directory Information (RTVDIRINF) command is used to collect attributes for objects in the integrated file system. The collected information is stored in database files (tables) that are named using the information file prefix specified by the INFFILEPFX parameter. The tables are created in the library specified by the INFLIB parameter.">Work with output of the RTVDIRINF and PRTDIRINF commands</a></div>
</div>
</div>
</body>
</html>