ibm-information-center/dist/eclipse/plugins/i5OS.ic.nls_5.4.0.1/rbagscommanddesign.htm

80 lines
5.3 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="Command design" />
<meta name="abstract" content="The i5/OS operating system allows users to define and create their own commands. To create a command, you must first define the command through command definition statements. Then use the Create Command (CRTCMD) command to process the command definition statements to create the command definition object." />
<meta name="description" content="The i5/OS operating system allows users to define and create their own commands. To create a command, you must first define the command through command definition statements. Then use the Create Command (CRTCMD) command to process the command definition statements to create the command definition object." />
<meta name="DC.Relation" scheme="URI" content="rbagsuseint.htm" />
<meta name="DC.Relation" scheme="URI" content="rbagsonlinehelpdesign.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/crtcmd.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/chgsyslibl.htm" />
<meta name="DC.Relation" scheme="URI" content="../rbam6/rbam6clmain.htm" />
<meta name="DC.Relation" scheme="URI" content="rbagsuseint.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="rbagscommanddesign" />
<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>Command design</title>
</head>
<body id="rbagscommanddesign"><a name="rbagscommanddesign"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Command design</h1>
<div><p>The i5/OS™ operating
system allows users to define and create their own commands. To create a command,
you must first define the command through command definition statements. Then
use the Create Command (CRTCMD) command to process the command definition
statements to create the command definition object.</p>
<p>When you define and create a command, take into consideration
the following information:</p>
<ul><li>Use help panel groups to provide online help information
for the command.</li>
<li>Use message identifiers instead of literal text for the PROMPT keyword
on the CL CMD, PARM, ELEM, and QUAL command definition statements.</li>
<li>Translate the text that is displayed to the right of the prompt line of
each parameter on the prompt display. This text is specified by the CHOICE
parameter of the PARM command definition statements, so the appearance of
the command prompt display maintains its coherency.</li>
<li>Compile command-prompt text into separate command definition object versions
for each national language. Use the Change System Library List (CHGSYSLIBL)
command before creating the command to get the national language version prompt
text from the correct national language version library.</li>
<li>The function keys of the command prompt display are
provided by the operating system. If the NLV of the operating system is different
from the NLV of the command, two different languages appear on the command
prompt display. For example, when translating an English display into German,
both the English and German appear on the command prompt display. <p>The
Control language information includes additional information about creating
and defining commands.</p>
</li>
</ul>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbagsuseint.htm" title="A user interface is the part of a software product that your customer actually sees.">User interfaces</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rbagsonlinehelpdesign.htm" title="You can define online help by using either panel groups or records.">Online help design</a></div>
<div><a href="rbagsuseint.htm" title="A user interface is the part of a software product that your customer actually sees.">User interfaces</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="../cl/crtcmd.htm">Create Command (CRTCMD) command</a></div>
<div><a href="../cl/chgsyslibl.htm">Change System Library List (CHGSYSLIBL) command</a></div>
<div><a href="../rbam6/rbam6clmain.htm">Control language</a></div>
</div>
</div>
</body>
</html>