133 lines
9.3 KiB
HTML
133 lines
9.3 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="Display and print journal entries" />
|
|
<meta name="abstract" content="Use the Display Journal (DSPJRN) command to display journal entries. The entries are displayed at a work station, printed, or written to an output file. You cannot directly access the journal entries in the form in which they are contained in the journal receivers." />
|
|
<meta name="description" content="Use the Display Journal (DSPJRN) command to display journal entries. The entries are displayed at a work station, printed, or written to an output file. You cannot directly access the journal entries in the form in which they are contained in the journal receivers." />
|
|
<meta name="DC.Relation" scheme="URI" content="rzakiwrkjrninfo.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzakijrnentrywrkst.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzakidboutfile.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzakiformatdbout.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzakifinder.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzakifixlength.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzakivarlength.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../cl/dspjrn.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzakicodes.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="rzakidsplyjrnentry" />
|
|
<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>Display and print journal entries</title>
|
|
</head>
|
|
<body id="rzakidsplyjrnentry"><a name="rzakidsplyjrnentry"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Display and print journal entries</h1>
|
|
<div><p>Use the <span class="cmdname">Display Journal (DSPJRN)</span> command to
|
|
display journal entries. The entries are displayed at a work station, printed,
|
|
or written to an output file. You cannot directly access the journal entries
|
|
in the form in which they are contained in the journal receivers.</p>
|
|
<p>The Journal entry information finder describes each type of journal entry
|
|
and the information that it contains. It also provides links for topics that
|
|
provide the layouts for the fixed-length portion and the variable-length
|
|
portion of the journal entry. See the<span class="cmdname"> Display Journal (DSPJRN)</span> Command
|
|
Description for complete layouts for the model database output files that
|
|
are provided by the system.</p>
|
|
<p>Often, to prepare for a recovery, you display or print the journal entries
|
|
first. The <a href="rzakicodes.htm">Journal code descriptions</a> provides
|
|
a description of each code. Use this list to help you analyze the journal
|
|
entries and to do the following:</p>
|
|
<ul><li>Prepare for the recovery of a particular object. The list contains the
|
|
information you need to specify the starting and ending points for applying
|
|
and removing journaled changes.</li>
|
|
<li>Determine the functions that have been performed on the objects that are
|
|
being journaled (such as save and restore, clear, reorganize).</li>
|
|
<li>Determine the functions that have been performed on the journal (such
|
|
as attaching new journal receivers).</li>
|
|
<li>Determine the functions that have been performed on the associated journal
|
|
receivers (such as save and restore).</li>
|
|
<li>Review the activity that has occurred on an object.</li>
|
|
<li>Analyze journal entries for debugging or problem analysis.</li>
|
|
<li>Analyze journal entries for an audit trail.</li>
|
|
</ul>
|
|
<p><img src="./delta.gif" alt="Start of change" />The <span class="cmdname">DSPJRN</span> command can either selectively
|
|
list journal entries for a particular object or list entries for all objects
|
|
within a particular library or directory subtree. You can further identify
|
|
journal entries by specifying other selection criteria such as:<img src="./deltaend.gif" alt="End of change" /></p>
|
|
<ul><li>Journal entries for specific entry types or journal codes, such as U (user-created
|
|
entries)</li>
|
|
<li>Journal entries for a particular job, program, or file</li>
|
|
<li>Commit cycle identifier</li>
|
|
<li>Date and time</li>
|
|
<li>Dependent entries (referential integrity, triggers, and entries that will
|
|
be ignored during an <span class="cmdname">Apply Journaled Changes (APYJRNCHG)</span> or <span class="cmdname">Remove
|
|
Journaled Changes (RMVJRNCHG)</span> operation)</li>
|
|
<li>Any combination of these</li>
|
|
</ul>
|
|
<p>The online help describes all the parameters for the DSPJRN command. To
|
|
view the help, type DSPJRN on a command line and press <kbd class="userinput">F1</kbd>.</p>
|
|
<div class="section"><h4 class="sectiontitle">Specify journal codes</h4><p>You can display entries that
|
|
have specific journal codes, such as all file-member-level entries (F), all
|
|
record-level entries (R), or all security entries (T). You specify journal
|
|
codes in paired values. The first value in the pair is the journal code. The
|
|
second value indicates whether the object selections you have specified apply
|
|
when deciding to display entries with the journal code.</p>
|
|
<p>Following is
|
|
an example:</p>
|
|
<pre>DSPJRN JRN($JRNLIB/JRNA) FILE(CUSTLIB/FILEA)
|
|
JRNCDE((F *ALLSLT) (R *ALLSLT)
|
|
(U *IGNFLSLT))...</pre>
|
|
<p>In this example, entries for the FILEA file with journal codes
|
|
F and R are displayed if the entries meet all other selection criteria, such
|
|
as date and time. Entries with journal code U are displayed regardless of
|
|
whether they are for file FILEA, because ignore file selection (*IGNFLSLT)
|
|
is specified for journal code U. Entries with journal code U must meet all
|
|
other selection criteria, such as date and time, to be displayed.</p>
|
|
<div class="note"><span class="notetitle">Note:</span> <img src="./delta.gif" alt="Start of change" />You can select similar entries for other object types using the
|
|
OBJ or OBJPATH parameters and specifying *IGNOBJSLT for the second value of
|
|
the journal code. <img src="./deltaend.gif" alt="End of change" /></div>
|
|
</div>
|
|
<div class="section"><h4 class="sectiontitle">Specify output</h4><p>There are several ways to
|
|
specify output for journal entries:</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<ul class="ullinks">
|
|
<li class="ulchildlink"><strong><a href="rzakijrnentrywrkst.htm">Output for journal entries directed to a workstation</a></strong><br />
|
|
If you direct the output from the Display Journal (DSPJRN) command to the requesting workstation, basic information about the journal entries appears. Use the roll key to display the next sequential set of entries.</li>
|
|
<li class="ulchildlink"><strong><a href="rzakidboutfile.htm">Output for journal entries directed to a database output file</a></strong><br />
|
|
If you direct the output from the Display Journal (DSPJRN) command to a database output file, you can further restrict the journal entries you want to process by creating logical files over the database output file.</li>
|
|
<li class="ulchildlink"><strong><a href="rzakiformatdbout.htm">Format of database output files</a></strong><br />
|
|
When you direct the output of the Display Journal (DSPJRN) command to a database file, the system creates the output file records in a standard format.</li>
|
|
</ul>
|
|
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakiwrkjrninfo.htm" title="Provides ways that you can display, retrieve, and receive journal entries.">Work with journal entry information</a></div>
|
|
</div>
|
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
|
<div><a href="rzakifixlength.htm" title="Use this topic to determine layouts for the fixed-length portion of journal entries.">Layouts for the fixed-length portion of journal entries</a></div>
|
|
<div><a href="rzakivarlength.htm" title="The following tables contain the variable-length portion of the layouts for journal entries.">Layouts for variable-length portion of journal entries</a></div>
|
|
<div><a href="rzakicodes.htm" title="This topic provides a description of all of the journal codes and categories.">Journal code descriptions</a></div>
|
|
</div>
|
|
<div class="relref"><strong>Related reference</strong><br />
|
|
<div><a href="../cl/dspjrn.htm">Display Journal (DSPJRN) command</a></div>
|
|
</div>
|
|
<div class="relinfo"><strong>Related information</strong><br />
|
|
<div><a href="rzakifinder.htm">Journal entry information finder</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |