ibm-information-center/dist/eclipse/plugins/i5OS.ic.ddp_5.4.0.1/rbal1exdpr.htm

101 lines
5.9 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?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="Example: Display program reference" />
<meta name="abstract" content="To see what objects are used by an application requester (AR) program, you can enter a command as follows:" />
<meta name="description" content="To see what objects are used by an application requester (AR) program, you can enter a command as follows:" />
<meta name="DC.subject" content="SQL program, displaying objects used, example, displaying program references, SQL package, displaying SQL package references" />
<meta name="keywords" content="SQL program, displaying objects used, example, displaying program references, SQL package, displaying SQL package references" />
<meta name="DC.Relation" scheme="URI" content="rbal1dpref.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="rbal1exdpr" />
<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>Example: Display program reference</title>
</head>
<body id="rbal1exdpr"><a name="rbal1exdpr"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Example: Display program reference</h1>
<div><p>To see what objects are used by an application requester (AR) program,
you can enter a command as follows: </p>
<div class="section"><pre>DSPPGMREF PGM(SPIFFY/PARTS1) OBJTYPE(*PGM)</pre>
</div>
<div class="section"><p>On the requester you can get a list of all the collections and
tables used by a program, but you are not able to see on which relational
database they are located. They might be located in multiple relational databases.
The output from the command can go to a database file or to a displayed spooled
file. The output looks like this: </p>
<pre>File . . . . . : QPDSPPGM Page/Line 1/1
Control . . . . . Columns 1 - 78
Find . . . . . .
3/29/92 Display Program References
DSPPGMREF Command Input
Program . . . . . . . . . . . . . . . . . . : PARTS1
Library . . . . . . . . . . . . . . . . . . : SPIFFY
Output . . . . . . . . . . . . . . . . . . : *
Include SQL packages . . . . . . . . . . . : *YES
Program . . . . . . . . . . . . . . . . . . : PARTS1
Library . . . . . . . . . . . . . . . . . . : SPIFFY
Text 'description'. . . . . . . . . . . . . : Check inventory for parts
Number of objects referenced . . . . . . . : 3
Object . . . . . . . . . . . . . . . . . . : PARTS1
Library . . . . . . . . . . . . . . . . . . : SPIFFY
Object type . . . . . . . . . . . . . . . . : *PGM
Object . . . . . . . . . . . . . . . . . . : QSQROUTE
Library . . . . . . . . . . . . . . . . . . : *LIBL
Object type . . . . . . . . . . . . . . . . : *PGM
Object . . . . . . . . . . . . . . . . . . : INVENT
Library . . . . . . . . . . . . . . . . . . : SPIFFY
Object type . . . . . . . . . . . . . . . . : *FILE
File name in program . . . . . . . . . . . :
File usage . . . . . . . . . . . . . . . . : Input</pre>
</div>
<div class="section"><p>To see what objects are used by an application server (AS) SQL
package, you can enter a command as follows: </p>
<pre>DSPPGMREF PGM(SPIFFY/PARTS1) OBJTYPE(*SQLPKG)</pre>
</div>
<div class="section"><p>The output from the command can go to a database file or to a
displayed spooled file. The output looks like this: </p>
<pre>File . . . . . : QPDSPPGM Page/Line 1/1
Control . . . . . Columns 1 - 78
Find . . . . . .
3/29/92 Display Program References
DSPPGMREF Command Input
Program . . . . . . . . . . . . . . . . . . : PARTS1
Library . . . . . . . . . . . . . . . . . . : SPIFFY
Output . . . . . . . . . . . . . . . . . . : *
Include SQL packages . . . . . . . . . . . : *YES
SQL package . . . . . . . . . . . . . . . . : PARTS1
Library . . . . . . . . . . . . . . . . . . : SPIFFY
Text 'description'. . . . . . . . . . . . . : Check inventory for parts
Number of objects referenced . . . . . . . : 1
Object . . . . . . . . . . . . . . . . . . : INVENT
Library . . . . . . . . . . . . . . . . . . : SPIFFY
Object type . . . . . . . . . . . . . . . . : *FILE
File name in program . . . . . . . . . . . :
File usage . . . . . . . . . . . . . . . . : Input</pre>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal1dpref.htm" title="You can use the Display Program References (DSPPGMREF) command to determine which tables, data areas, and other programs are used by a program or SQL package. This information is only available for SQL packages and compiled programs and can be displayed, printed, or written to a database output file.">Display objects used by programs</a></div>
</div>
</div>
</body>
</html>