62 lines
3.9 KiB
HTML
62 lines
3.9 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="Specifying the device name" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiurzaiu148.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="rzaiu151" />
|
|
<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>Specifying the device name</title>
|
|
</head>
|
|
<body id="rzaiu151"><a name="rzaiu151"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Specifying the device name</h1>
|
|
<div><div class="p">When you use the SAV command, you use a pathname to specify objects to
|
|
be saved. The pathname consists of a sequence of directory names that are
|
|
followed by the name of the object. You also use the pathname for the values
|
|
of other parameters, such as the device (DEV) parameter. For example, on
|
|
the SAVLIB command, you specify <samp class="codeph">DEV(TAP01)</samp>. To use device
|
|
TAP01 on the SAV command, you specify: <pre>DEV('/QSYS.LIB/TAP01.DEVD')</pre>
|
|
To
|
|
use a save file name MYSAVF in library QGPL on the SAVF command, you specify: <pre>DEV('/QSYS.LIB/QGPL.LIB/MYSAVF.FILE')</pre>
|
|
</div>
|
|
<div class="p">You may want to create symbolic links for devices that you specify with
|
|
the SAV command to simplify keying and to reduce errors. For example, you
|
|
can create a symbolic link for the media device description that is called
|
|
either <samp class="codeph">TAP01</samp> or <samp class="codeph">OPT01</samp>. If you wish to use
|
|
symbolic links, it is recommended that you perform a one-time setup of symbolic
|
|
links in the root directory. For each tape device on your server, type the
|
|
following: <pre>ADDLNK OBJ('/<span class="synph"><span class="var">qsys.lib</span></span>/<span class="synph"><span class="var">media-device-name</span></span><span class="synph"><span class="var">.devd</span></span>') NEWLNK(<span class="synph"><span class="var">media-device-name</span></span>) +
|
|
LNKTYPE(*SYMBOLIC) </pre>
|
|
If the current directory is the root
|
|
directory, then an example of the SAV command using the symbolic link would
|
|
be the following: <pre>SAV DEV(<span class="synph"><span class="var">media-device-name</span></span>) +
|
|
OBJ(('/*') ('/QDLS' *OMIT) ('/QSYS.LIB' *OMIT))</pre>
|
|
All subsequent
|
|
path names on the command would need to begin from the root directory. <div class="note"><span class="notetitle">Note:</span> If
|
|
the root directory is not the current directory, be sure to specify <samp class="codeph">DEV('/<span class="synph"><span class="var">media-device-name</span></span>')</samp> on
|
|
the SAV command.</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiurzaiu148.htm">Save file systems</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |