ibm-information-center/dist/eclipse/plugins/i5OS.ic.dbp_5.4.0.1/rbaforlsao.htm

71 lines
5.0 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="Determine which source file member was used to create an object" />
<meta name="abstract" content="When an object is created from source, the information about the source file, library, and member is held in the object. The date and time that the source member was last changed before object creation is also saved in the object." />
<meta name="description" content="When an object is created from source, the information about the source file, library, and member is held in the object. The date and time that the source member was last changed before object creation is also saved in the object." />
<meta name="DC.subject" content="determining, which source file member was used to create an object, source file member, determining which used to create an object" />
<meta name="keywords" content="determining, which source file member was used to create an object, source file member, determining which used to create an object" />
<meta name="DC.Relation" scheme="URI" content="rbafocousf.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/dspobjd.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/dspfd.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="rbaforlsao" />
<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> Determine which source file member was used to create an object</title>
</head>
<body id="rbaforlsao"><a name="rbaforlsao"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1"> Determine which source file member was used to create an object</h1>
<div><p>When an object is created from source, the information about the
source file, library, and member is held in the object. The date and time
that the source member was last changed before object creation is also saved
in the object.</p>
<p>The information in the object can be displayed
with the Display Object Description (DSPOBJD) command and specifying DETAIL(*SERVICE).</p>
<p>This information can help you in determining which source
member was used and if the existing source member was changed since the object
was created.</p>
<div class="p">You can also ensure that the source used to create an object
is the same as the source that is currently in the source member using the
following commands: <ul><li>The Display File Description (DSPFD) command using TYPE(*MBR). This display
shows both date and time for the source member. The <samp class="codeph">Last source update
date/time</samp> value should be used to compare to the <samp class="codeph">Source file
date/time</samp> value displayed from the DSPOBJD command.</li>
<li>The Display Object Description (DSPOBJD) command using DETAIL(*SERVICE).
This display shows the date and time of the source member used to create the
object.</li>
</ul>
<div class="note"><span class="notetitle">Note:</span> If you are using the data written to output files to determine
if the source and object dates are the same, then you can compare the <em>ODSRCD</em> (source
date) and <em>ODSRCT</em> (source time) fields from the output file of the DSPOBJD
DETAIL(*SERVICE) command to the <em>MBUPDD</em> (member update date) and <em>MBUPDT</em> (member
update time) fields from the output file of the DSPFD TYPE(*MBR) command.</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafocousf.htm" title="You can use a create command to create an object using a source file. If you create an object using a source file, you can specify the name of the source file on the create command.">Create an object using a source file</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="../cl/dspobjd.htm">Display Object Description (DSPOBJD) command</a></div>
<div><a href="../cl/dspfd.htm">Display File Description (DSPFD) command</a></div>
</div>
</div>
</body>
</html>