122 lines
7.9 KiB
HTML
122 lines
7.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="i5/OS commands" />
|
|
<meta name="abstract" content="i5/OS uses control language (CL) commands to interpret instructions from users. Learn the basic rules for using CL, and how to get detailed help for any CL command." />
|
|
<meta name="description" content="i5/OS uses control language (CL) commands to interpret instructions from users. Learn the basic rules for using CL, and how to get detailed help for any CL command." />
|
|
<meta name="DC.Relation" scheme="URI" content="rzal2reference.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzal2interfaces.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../rbam6/rbam6clmain.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../clfinder/finder.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzal2objects.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../rbam6/rbam6onos400obj.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="rzal2commands" />
|
|
<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>i5/OS commands</title>
|
|
</head>
|
|
<body id="rzal2commands"><a name="rzal2commands"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1"><span class="keyword">i5/OS</span> commands</h1>
|
|
<div><p><span class="keyword">i5/OS™</span> uses control
|
|
language (CL) commands to interpret instructions from users. Learn the basic
|
|
rules for using CL, and how to get detailed help for any CL command.</p>
|
|
<p><span class="keyword">i5/OS</span> CL provides a
|
|
powerful and flexible means of entering commands on the iSeries™ server.
|
|
You can use CL to control most of the iSeries functions by entering them from
|
|
the character-based interface, by including them in programs, or by sending
|
|
commands in iSeries Navigator.
|
|
While the iSeries menu
|
|
system and CL commands might be unfamiliar at first, they follow an easy-to-use
|
|
syntax, and <span class="keyword">i5/OS</span> includes
|
|
many features to help you use them successfully.</p>
|
|
<div class="section"><h4 class="sectiontitle">CL command syntax</h4><p>CL commands consist of a verb,
|
|
an <span class="keyword">i5/OS</span> object, and sometimes
|
|
an adjective; for example, WRKACTJOB:</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="void" border="0" rules="none"><thead align="left"><tr><th valign="top" id="d0e61">Verb</th>
|
|
<th valign="top" id="d0e63">Adjective</th>
|
|
<th valign="top" id="d0e65">Object</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td valign="top" headers="d0e61 ">WRK</td>
|
|
<td valign="top" headers="d0e63 ">ACT</td>
|
|
<td valign="top" headers="d0e65 ">JOB</td>
|
|
</tr>
|
|
<tr><td valign="top" headers="d0e61 ">Work</td>
|
|
<td valign="top" headers="d0e63 ">Active</td>
|
|
<td valign="top" headers="d0e65 ">Job</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p>One of the important features of CL syntax is that it is consistent.
|
|
For example, regardless of the object or command you want to work with, using
|
|
the verb WRK in the command starts a menu that allows you to perform the available
|
|
actions on the specified object.</p>
|
|
</div>
|
|
<div class="section"><h4 class="sectiontitle">Enter CL commands</h4><p>You can enter CL commands from iSeries Navigator
|
|
by selecting <span class="uicontrol">Run a command</span> from the task pad. Alternatively,
|
|
you can enter CL commands from any command line and most displays on the iSeries character-based
|
|
interface.</p>
|
|
<p>Every command has a set of required and optional parameters.
|
|
For example, Create Library (CRTLIB) requires, at a minimum, that you specify
|
|
the name of the library you need to create. The syntax for more complex CL
|
|
commands is: <samp class="codeph">command_name</samp> <em>parameter</em> <em>(value)</em>.
|
|
For example, CRTLIB LIB (FRED) enters the verb <dfn class="term">create</dfn>, on the
|
|
object type <dfn class="term">library</dfn>, and specifies that the required parameter
|
|
LIB, the library name, must have the value <dfn class="term">FRED</dfn>. This command
|
|
causes <span class="keyword">i5/OS</span> to create
|
|
a library called FRED.</p>
|
|
<p>If you are not familiar with the parameters associated
|
|
with a CL command, you can enter the command with the parameters you already
|
|
know, place the cursor on the command, and press F4 (Prompt). <span class="keyword">i5/OS</span> then
|
|
displays the available options for the command. Entering a command without
|
|
any parameters also causes the system to prompt you for any required fields,
|
|
making field-level help available. For example, entering CRTLIB causes <span class="keyword">i5/OS</span> to show the following display:</p>
|
|
<br /><img src="rzal2001.gif" alt="list of required fileds for CRTLIB. Entering '?' brings up filed help" /><br /><p>Entering a <span class="uicontrol">?</span> in
|
|
any field brings up detailed help for that parameter.</p>
|
|
</div>
|
|
<div class="section"><h4 class="sectiontitle">Get help with CL commands</h4><p><span class="keyword">i5/OS</span> provides
|
|
several methods for helping users access and enter CL commands. The Command
|
|
Entry program provides a useful interface and additional help. You can start
|
|
this program by entering CALL QCMD from a command line. The CL finder in
|
|
the information center can also help you find a specific command. Most importantly,
|
|
remember that entering a command without any parameters, or pressing F4 (Prompt)
|
|
while your cursor is over the command, displays a menu with detailed help
|
|
for all associated parameters.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzal2reference.htm" title="Learn about the essential components of the iSeries server, including the basics of work management, how to interact with the operating system, and system maintenance.">i5/OS concepts</a></div>
|
|
</div>
|
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
|
<div><a href="rzal2interfaces.htm" title="Depending on the type of connection to the iSeries server, and the task you need to perform, there are several options available for iSeries interfaces. Learn how to access and use iSeries Navigator, the character-based interface, and the wireless clients.">Use iSeries interfaces</a></div>
|
|
<div><a href="rzal2objects.htm" title="Everything on the system that can be worked with is considered an object. Objects provide a common interface for working with system components. This topic discusses the different kinds of objects and how to work with them.">Objects</a></div>
|
|
</div>
|
|
<div class="relref"><strong>Related reference</strong><br />
|
|
<div><a href="../rbam6/rbam6clmain.htm">Control language (CL)</a></div>
|
|
<div><a href="../rbam6/rbam6onos400obj.htm">Commands operating on i5/OS objects</a></div>
|
|
</div>
|
|
<div class="relinfo"><strong>Related information</strong><br />
|
|
<div><a href="../clfinder/finder.htm">CL command finder</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |