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

71 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="Access the data of RTVDIRINF" />
<meta name="abstract" content="There exist several options for accessing the data in the tables." />
<meta name="description" content="There exist several options for accessing the data in the tables." />
<meta name="DC.Relation" scheme="URI" content="rzaaxwwcomm.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/prtdirinf.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/strsql.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzajp/rzajpkickoff.htm" />
<meta name="DC.Relation" scheme="URI" content="../cli/rzadpkickoff.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="rzaaxaccdata" />
<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>Access the data of RTVDIRINF</title>
</head>
<body id="rzaaxaccdata"><a name="rzaaxaccdata"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Access the data of <span class="cmdname">RTVDIRINF</span></h1>
<div><p>There exist several options for accessing the data in the tables.</p>
<div class="section"><p>Listed below are ways that you can access the data created by
the <span class="cmdname">Retrieve Directory Information (RTVDIRINF)</span> command:</p>
</div>
<div class="section"> <ul><li>Using the <span class="cmdname">Print Directory Information (PRTDIRINF)</span> command <p>This
command is used to print directory information about objects and directory
information in the integrated file system. The information it will print is
already stored in the database file specified by the user in the <span class="cmdname">RTVDIRINF</span> command.</p>
</li>
<li>Using any program or command provided by IBM<sup>®</sup> that can run queries over a DB2<sup>®</sup> table in the iSeries™.
<p>Some of the more common tools are the <span class="cmdname">Start SQL Interactive Session
(STRSQL)</span> command and the iSeries Navigator. </p>
<div class="p">For example,
if you want to select objects in a specific path (previously collected by
the <span class="cmdname">RTVDIRINF</span> command) that have an allocation size larger
than 10kb, you can run a query like this: <p>SELECT QEZOBJNAM, QEZALCSIZE FROM library_name/QAEZDxxxxO WHERE <br />
QEZALCSIZE &gt; 10240</p>
</div>
</li>
<li>You can make your own programs and access the database tables by using
any valid DB methods. </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 class="relinfo"><strong>Related information</strong><br />
<div><a href="../cl/prtdirinf.htm">Print Directory Information (PRTDIRINF) command</a></div>
<div><a href="../cl/strsql.htm">Start SQL (STRSQL) command</a></div>
<div><a href="../rzajp/rzajpkickoff.htm">Embedded SQL</a></div>
<div><a href="../cli/rzadpkickoff.htm">SQL CLIs</a></div>
</div>
</div>
</body>
</html>