157 lines
10 KiB
HTML
157 lines
10 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="copyright" content="(C) Copyright IBM Corporation 2005" />
|
|
<meta name="DC.rights.owner" content="(C) Copyright IBM Corporation 2005" />
|
|
<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="cimmofl usage information" />
|
|
<meta name="abstract" content="Use this command to compile provider registrations and to compile CIM class descriptions (using the Managed Object Format [MOF] language) into the class schema stored in the repository." />
|
|
<meta name="description" content="Use this command to compile provider registrations and to compile CIM class descriptions (using the Managed Object Format [MOF] language) into the class schema stored in the repository." />
|
|
<meta name="DC.Relation" scheme="URI" content="rzatlmngcmd.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzatlmngcmd.htm" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="rzatlcimmofl" />
|
|
<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>cimmofl usage information</title>
|
|
</head>
|
|
<body id="rzatlcimmofl"><a name="rzatlcimmofl"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">cimmofl usage information</h1>
|
|
<div><p>Use this command to compile provider registrations and to compile
|
|
CIM class descriptions (using the Managed Object Format [MOF] language) into
|
|
the class schema stored in the repository. </p>
|
|
<p>The CIMOM must be stopped before using this command.</p>
|
|
<div class="note"><span class="notetitle">Note:</span> <img src="./delta.gif" alt="Start of change" />You can run this command from /QIBM/UserData/OS400/CIM.<img src="./deltaend.gif" alt="End of change" /></div>
|
|
<dl><dt class="dlterm">Name</dt>
|
|
<dd><samp class="codeph">cimmofl</samp> - used to compile CIM class descriptions (using
|
|
the MOF language) into the class schema stored in the repository. The CIMOM
|
|
must be stopped before using this command.</dd>
|
|
<dt class="dlterm">Synopsis</dt>
|
|
<dd><img src="./delta.gif" alt="Start of change" />Usage:<p> <samp class="codeph">cimmofl -h | --help </samp></p>
|
|
<p><samp class="codeph">cimmofl
|
|
--version </samp></p>
|
|
<p> <samp class="codeph">cimmofl [ -w ] [ -E ] [ -uc ] [ -aE | -aV
|
|
| -aEV ] [ -I path ] [ -n namespace | --namespace namespace ] [ --xml ] [
|
|
--tracefile ] [ -q ]</samp></p>
|
|
<p><samp class="codeph"> [ -R repositorydir | --CIMRepository
|
|
repositorydir ] [ -N repositoryname ] [ -M repositorymode] mof_file... </samp></p>
|
|
<img src="./deltaend.gif" alt="End of change" /></dd>
|
|
<dt class="dlterm">Description</dt>
|
|
<dd> <p>This command is used to compile provider registrations and to compile
|
|
CIM class descriptions (using the MOF language) into the class schema stored
|
|
in the repository. The CIMOM must be stopped before using this command.</p>
|
|
<p>The
|
|
Pegasus MOF compiler is a command-line utility that compiles MOF files (using
|
|
the MOF format defined by the DMTF CIM Specification) into a Pegasus repository.
|
|
It allows compiling from structures of MOF files using the include pragma
|
|
and can either compile into a Pegasus repository or perform a syntax check
|
|
on the MOF files. The compiler requires that the input MOF files be in the
|
|
current directory or that a fully qualified path be given. MOF files included
|
|
using the #pragma include must be in the current directory or in a directory
|
|
specified by a <samp class="codeph">-I</samp> command-line switch.</p>
|
|
</dd>
|
|
<dt class="dlterm">Options</dt>
|
|
<dd> <dl><dt class="dlterm">-h, --help</dt>
|
|
<dd>Print out usage message with command definitions.</dd>
|
|
<dt class="dlterm"><img src="./delta.gif" alt="Start of change" />--version<img src="./deltaend.gif" alt="End of change" /></dt>
|
|
<dd><img src="./delta.gif" alt="Start of change" />Displays the CIMOM server version<img src="./deltaend.gif" alt="End of change" /></dd>
|
|
<dt class="dlterm">-E</dt>
|
|
<dd>Used to perform a syntax check on the input. This option does not update
|
|
the repository.</dd>
|
|
<dt class="dlterm">-w</dt>
|
|
<dd>Suppresses warning messages.</dd>
|
|
<dt class="dlterm">-q</dt>
|
|
<dd>Used to suppress all messages except command-line usage errors.</dd>
|
|
<dt class="dlterm">-uc</dt>
|
|
<dd>Used to allow the update of an existing class definition. This option
|
|
lets you update a leaf class. It does not allow updates of superclasses or
|
|
classes that have subclasses.</dd>
|
|
<dt class="dlterm">-aE</dt>
|
|
<dd>Used to allow the addition or modification of classes with the experimental
|
|
qualifier.</dd>
|
|
<dt class="dlterm">-aV</dt>
|
|
<dd><img src="./delta.gif" alt="Start of change" />Used to update a class that results in a version change.
|
|
This option allows the major version of the class to be changed, allows the
|
|
version to be down leveled, or allows the version to be removed. The version
|
|
must be specified in a valid format. The format is m.n.u where m is major
|
|
version, n is minor release and u is update. For example, 2.7.0 is a valid
|
|
format for CIM schema 2.7.0. If the input class has the same version as the
|
|
class in the repository, the class is not updated.<img src="./deltaend.gif" alt="End of change" /></dd>
|
|
<dt class="dlterm">-aEV</dt>
|
|
<dd>Allow both Experimental and Version Schema changes.</dd>
|
|
<dt class="dlterm">-R<path></dt>
|
|
<dd><img src="./delta.gif" alt="Start of change" />Specifies the path to the repository to be written. Specify
|
|
an absolute or relative path. The default is /QIBM/UserData/OS400/CIM.<img src="./deltaend.gif" alt="End of change" /></dd>
|
|
<dt class="dlterm">--CIMRepository<path></dt>
|
|
<dd>If specified, this overrides the current repository path. Specify an absolute
|
|
or relative path. The default is /QIBM/UserData/OS400/CIM.</dd>
|
|
<dt class="dlterm"><samp class="codeph">-I</samp><path></dt>
|
|
<dd>Used to specify a path to the included MOF files.</dd>
|
|
<dt class="dlterm">-n<path></dt>
|
|
<dd>Used to override the default CIM repository namespace. The default is
|
|
root/cimv2.</dd>
|
|
<dt class="dlterm">--namespace<path></dt>
|
|
<dd>Used to override default CIM repository namespace. The default is root/cimv2.</dd>
|
|
<dt class="dlterm">--xml</dt>
|
|
<dd>Used to generate XML to standard output. This option does not update the
|
|
repository.</dd>
|
|
<dt class="dlterm">--trace</dt>
|
|
<dd>Used to write trace information to a file. The output destination is standard
|
|
output.</dd>
|
|
<dt class="dlterm">--trace=<tracefile></dt>
|
|
<dd>Used to write trace information to the specified file.</dd>
|
|
<dt class="dlterm"><img src="./delta.gif" alt="Start of change" />-N repositoryname <img src="./deltaend.gif" alt="End of change" /></dt>
|
|
<dd><img src="./delta.gif" alt="Start of change" />Used to specify the repository name. This is the relative path to the
|
|
directory in the <span class="parmname">-R</span> option. The default is <span class="parmname">repository</span>.<img src="./deltaend.gif" alt="End of change" /></dd>
|
|
<dt class="dlterm"><img src="./delta.gif" alt="Start of change" />-M repositorymode<img src="./deltaend.gif" alt="End of change" /></dt>
|
|
<dd><img src="./delta.gif" alt="Start of change" /> Used to specify the Repository mode [XML, BIN]. <div class="note"><span class="notetitle">Note:</span> The default is <span class="parmname">XML</span>,
|
|
and this is the only allowed value on <span class="keyword">i5/OS™</span>.</div>
|
|
<img src="./deltaend.gif" alt="End of change" /></dd>
|
|
</dl>
|
|
</dd>
|
|
<dt class="dlterm">Examples</dt>
|
|
<dd><span class="uicontrol">cimmofl</span> -w -Rtestrepository <samp class="codeph">-I</samp>./myDir
|
|
myDir/CIM_Schema.mof</dd>
|
|
<dd class="ddexpand"><div class="note"><span class="notetitle">Note:</span> Compile the Managed Object Format (MOF) file located in directory <samp class="codeph">myDir</samp> with
|
|
the name CIM_Schema.mof. CIM_Schema.mof includes pragmas for other mof files
|
|
that are also in the MOF directory. It will create the repository in directory <samp class="codeph">testrepository</samp> using
|
|
the default namespace root/cimv2. It assumes that the <samp class="codeph">testrepository</samp> directory
|
|
exists. Use the <samp class="codeph">-w</samp> option to suppress warning messages.</div>
|
|
</dd>
|
|
<dd class="ddexpand"> <p><img src="./delta.gif" alt="Start of change" /><span class="uicontrol">cimmofl</span> -w -R/qibm/userdata/os400/cim
|
|
-I/qibm/proddata/os400/cim/schemas/cim -nroot/cimv2 /qibm/proddata/os400/cim/schemas/cim/CIM_Schema.mof<img src="./deltaend.gif" alt="End of change" /></p>
|
|
<div class="note"><span class="notetitle">Note:</span> Compile
|
|
the MOF file located in the directory /qibm/proddata/os400/cim/schemas/cim
|
|
with the name CIM_Schema.mof. CIM_Schema.mof includes pragmas for other mof
|
|
files that are also in the /qibm/proddata/os400/cim/schemas/cim directory.
|
|
It will create the repository in directory /qibm/userdata/os400/cim using
|
|
namespace root/cimv2. It assumes that the /qibm/userdata/os400/cim directory
|
|
exists. Use the <samp class="codeph">-w</samp> option to suppress warning messages.</div>
|
|
<p><span class="uicontrol">iSeries-specific
|
|
usage:</span> On an iSeries™ server, this command requires the user to
|
|
have *IOSYSCFG and *ALLOBJ authority.</p>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzatlmngcmd.htm" title="The open source Pegasus implementation includes a set of command line utilities that you can use to control or change the Pegasus environment.">Pegasus command-line utilities</a></div>
|
|
</div>
|
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
|
<div><a href="rzatlmngcmd.htm" title="The open source Pegasus implementation includes a set of command line utilities that you can use to control or change the Pegasus environment.">Pegasus command-line utilities</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |