71 lines
4.4 KiB
HTML
71 lines
4.4 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 continuation" />
|
|
<meta name="abstract" content="Commands can be entered in free format. This means that a command does not have to begin in a specific location on a coding sheet or on the display. A command can be contained entirely in one record, or it can be continued on several lines or in several records." />
|
|
<meta name="description" content="Commands can be entered in free format. This means that a command does not have to begin in a specific location on a coding sheet or on the display. A command can be contained entirely in one record, or it can be continued on several lines or in several records." />
|
|
<meta name="DC.Relation" scheme="URI" content="rbam6comparts.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="rbam6commandcont" />
|
|
<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 continuation</title>
|
|
</head>
|
|
<body id="rbam6commandcont"><a name="rbam6commandcont"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Command continuation</h1>
|
|
<div><p>Commands can be entered in free format. This means that a command
|
|
does not have to begin in a specific location on a coding sheet or on the
|
|
display. A command can be contained entirely in one record, or it can be continued
|
|
on several lines or in several records. </p>
|
|
<p>Whether continued or not, the total command length cannot exceed 32,702
|
|
characters. Either of two special characters, the plus sign (+) or the minus
|
|
sign (-), is entered as the last non-blank character on the line to indicate
|
|
that a command is continued. Blanks immediately <em>preceding</em> a + or -
|
|
sign are always included; blanks immediately following a + or - in the <em>same
|
|
record</em> are ignored. Blanks in the <em>next record</em> that precede the
|
|
first non-blank character in the record are ignored when + is specified but
|
|
are included when - is specified.</p>
|
|
<p>The + is generally useful between parameters or values. At least one blank
|
|
must precede the sign when it is used between separate parameters or values.
|
|
The difference between the plus and minus sign usage is particularly important
|
|
when continuation occurs inside a quoted character string.</p>
|
|
<p>The example that follows shows the difference.</p>
|
|
<pre>CRTLIB LIB(XYZ) TEXT('This is CONT+
|
|
INUED')
|
|
|
|
CRTLIB LIB(XYZ) TEXT('This is CONT-
|
|
INUED')
|
|
|
|
For + : CRTLIB LIB(XYZ) TEXT('This is CONTINUED')
|
|
|
|
For - : CRTLIB LIB(XYZ) TEXT('This is CONT INUED')</pre>
|
|
<div class="note"><span class="notetitle">Note:</span> <ol><li>The minus sign causes the leading blanks on the next line to be entered. </li>
|
|
<li>Use continuation characters + and - in CL programs only. An error occurs
|
|
if + or - is used on a command entry display. </li>
|
|
<li>The characters + and - are used for multiple-command examples, but not
|
|
for single-command examples.</li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbam6comparts.htm" title="The parts of a command include a command label (optional), a command name (mnemonic), and one or more parameters. The parameter includes a keyword and a value.">Command parts</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |