ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaiu_5.4.0.1/rzaiurzaiu298.htm

179 lines
10 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="Optical media" />
<meta name="DC.Relation" scheme="URI" content="rzaiurzaiu102.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiurzaiu102.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzam4/rzam4tapevsoptical.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzam4/rzam4optical.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="rzaiu298" />
<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>Optical media</title>
</head>
<body id="rzaiu298"><a name="rzaiu298"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Optical media</h1>
<div><div class="section"><img src="./delta.gif" alt="Start of change" />
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><caption>Table 1. Consider using optical media as part of
your save strategy</caption><thead align="left"><tr><th valign="top" width="26.767676767676768%" id="d0e25">Characteristic</th>
<th valign="top" width="73.23232323232324%" id="d0e27">Comparison</th>
</tr>
</thead>
<tbody><tr><td valign="top" width="26.767676767676768%" headers="d0e25 ">Access to data</td>
<td valign="top" width="73.23232323232324%" headers="d0e27 ">Optical devices are random access devices. File access
is independent to the order in which the data is stored. Multiple users can
access the same volume simultaneously.</td>
</tr>
<tr><td valign="top" width="26.767676767676768%" headers="d0e25 ">Data transfer rates</td>
<td valign="top" width="73.23232323232324%" headers="d0e27 ">Data transfer rates for tape tend to be higher than
for optical, particularly if you use tape drive compression.</td>
</tr>
<tr><td valign="top" width="26.767676767676768%" headers="d0e25 ">Durability</td>
<td valign="top" width="73.23232323232324%" headers="d0e27 ">Optical media has a life span around 50 years. </td>
</tr>
<tr><td valign="top" width="26.767676767676768%" headers="d0e25 ">Archiving</td>
<td valign="top" width="73.23232323232324%" headers="d0e27 ">Write Once Read Many (WORM) optical media is made for
archiving. Each sector on the media can only be written to once, when creating
and updating files and directories. When a file is changed or deleted, a new
version of the file gets written, and the old version still exists on the
media. This unique characteristic of never rewriting the same sector is that
it allows all previous versions of every file to remain on the media.</td>
</tr>
<tr><td valign="top" width="26.767676767676768%" headers="d0e25 ">Transportability</td>
<td valign="top" width="73.23232323232324%" headers="d0e27 ">DVD-RAM media created or written to on the iSeries™ can
be read from any platform that supports the Universal Disk Format (UDF) file
system. UDF is an industry standard file system.</td>
</tr>
</tbody>
</table>
</div>
<img src="./deltaend.gif" alt="End of change" /></div>
<div class="section"><h4 class="sectiontitle">How random storage mode affects save functions</h4><p>Optical
devices use a random storage mode to save information. Optical devices use
a hierarchical file structure when the server accesses files on the media.</p>
<p>You
may specify a path name for the optical file in the save operation beginning
with the root directory. If you specify an asterisk (*), the server generates
an optical file name in the root directory (/). If you specify an <samp class="codeph">'optical_directory_path_name/*'</samp>,
the server generates an optical file name in the specified directory on the
optical volume. If the directory does not exist, the server creates the directory.</p>
<p>For
example, if you specify <samp class="codeph">SAVLIB LIB(MYLIB) DEV(OPT01) OPTFILE('MYDIR/*')</samp>,
the server creates the following optical file: <samp class="codeph">MYDIR/MYLIB</samp>.</p>
<p>The
server looks for active files on the optical media volume for the same file
that you save currently. For example, you previously saved a SAVLIB to optical
media. Now you run a new SAV command to the same media; the server ignores
the SAVLIB files and does not report any active files for your SAV command.</p>
<p>In
general, the save operation looks for an active file that matches the pathname
specified on the OPTFILE parameter. SAVSYS and options 21 and 22 of the SAVE
menu look for any active file.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><caption>Table 2. Checking for active files
on optical media</caption><thead align="left"><tr><th valign="top" width="26.633165829145728%" id="d0e88">Consideration</th>
<th valign="top" width="73.36683417085426%" id="d0e90">General information</th>
</tr>
</thead>
<tbody><tr><td valign="top" width="26.633165829145728%" headers="d0e88 ">CLEAR(*NONE) parameter</td>
<td valign="top" width="73.36683417085426%" headers="d0e90 "><p>If you specify CLEAR(*NONE) on the save command,
the server checks the optical media volume for active optical files. The server
looks for active files with the same name and path as the specified optical
file.</p>
<p>If the server<span class="uicontrol"> finds</span> an optical file that
is identical to the specified optical file, the server displays an inquiry
message. You may respond to the message by cancelling the process, writing
over the existing file on the volume, or inserting a new cartridge.</p>
<p>If
the server <span class="uicontrol">does not</span> find any active files and there
is enough space on the optical volume, the server writes the files to the
media. If the server does not find enough available space on the optical media
volume, the server prompts you to insert a new media volume in the media device.</p>
</td>
</tr>
<tr><td valign="top" width="26.633165829145728%" headers="d0e88 ">CLEAR(*ALL) parameter</td>
<td valign="top" width="73.36683417085426%" headers="d0e90 "><p>The CLEAR(*ALL) parameter automatically clears all
of the files on the optical media volume without prompting.</p>
</td>
</tr>
<tr><td valign="top" width="26.633165829145728%" headers="d0e88 ">CLEAR(*AFTER) parameter</td>
<td valign="top" width="73.36683417085426%" headers="d0e90 "><p>The CLEAR(*AFTER) parameter clears all the media
volumes after the first volume. If the server encounters the specified optical
file on the first volume, the server sends an inquiry message that allows
you to either end the save operation or replace the file.</p>
</td>
</tr>
<tr><td valign="top" width="26.633165829145728%" headers="d0e88 ">CLEAR(*REPLACE) parameter</td>
<td valign="top" width="73.36683417085426%" headers="d0e90 "><p>The CLEAR(*REPLACE) parameter automatically replaces
active data of the specified optical file on the media volumes.</p>
</td>
</tr>
<tr><td valign="top" width="26.633165829145728%" headers="d0e88 ">Check for active files parameter on the GO SAVE command</td>
<td valign="top" width="73.36683417085426%" headers="d0e90 "><p>During a GO SAVE command, menu option 21 or 22, or
a SAVSYS command if the server detects an active file of the specified optical
file, it displays message OPT1563 in the QSYSOPR message queue. During other
save command operations, the server may display message OPT1260 depending
on the value of the CLEAR parameter. If the server does not detect an active
file of the specified optical file, the server checks for available space.
If there is room to write the file, the server writes the file to the current
volume in random mode. If there is not enough room, the server prompts you
to insert another optical media volume into your optical device.</p>
<p>During
a GO SAVE command, menu option 21, you specify Y or N at the <span class="uicontrol">Check
for active files</span> prompt to see if there are active files on your
media volume. </p>
<ul><li><span class="uicontrol">Check for active files: N option</span> <p>When you select
the Check for active files: N option, the option forces the server to automatically
overwrite all files on your DVD-RAM optical media.</p>
</li>
<li><span class="uicontrol">Check for active files: Y option</span> <p>When you select
the Check for active files: Y option, the option forces the server to check
for active files on your DVD-RAM optical media.</p>
</li>
</ul>
</td>
</tr>
<tr><td valign="top" width="26.633165829145728%" headers="d0e88 ">SAVSYS command messages</td>
<td valign="top" width="73.36683417085426%" headers="d0e90 "><p>When you run a SAVSYS command to an optical media
volume, the server displays message <span class="uicontrol">OPT1503 - Optical volume contains
active files</span> if there are active files on the optical media volume.
You can either initialize the media with the Initialize Optical (INZOPT) command
or you can specify CLEAR(*ALL) on the SAVSYS command to run an unattended
save. </p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiurzaiu102.htm">Choose your save media</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="rzaiurzaiu102.htm">Choose your save media</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../rzam4/rzam4tapevsoptical.htm">Comparison of offline storage</a></div>
<div><a href="../rzam4/rzam4optical.htm">Optical storage</a></div>
</div>
</div>
</body>
</html>