90 lines
5.2 KiB
HTML
90 lines
5.2 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="task" />
|
|
<meta name="DC.Title" content="QCMDEXC program with DBCS data" />
|
|
<meta name="abstract" content="You can use QCMDEXC to request double-byte character set (DBCS) input data to be entered with a command." />
|
|
<meta name="description" content="You can use QCMDEXC to request double-byte character set (DBCS) input data to be entered with a command." />
|
|
<meta name="DC.subject" content="DBCS (double-byte character set), using QCMDEXC with, double-byte character set (DBCS), using QCMDEXC with, double-byte data, prompting for using QCMDEXC program, prompting for in CL program, QCMDEXC program, prompting for double-byte data, prompting, for using QCMDEXC, for double-byte data in a CL program, Send Message (SNDMSG) display" />
|
|
<meta name="keywords" content="DBCS (double-byte character set), using QCMDEXC with, double-byte character set (DBCS), using QCMDEXC with, double-byte data, prompting for using QCMDEXC program, prompting for in CL program, QCMDEXC program, prompting for double-byte data, prompting, for using QCMDEXC, for double-byte data in a CL program, Send Message (SNDMSG) display" />
|
|
<meta name="DC.Relation" scheme="URI" content="execp.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../apis/qcmdexc.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="excdb" />
|
|
<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>QCMDEXC program with DBCS data</title>
|
|
</head>
|
|
<body id="excdb"><a name="excdb"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">QCMDEXC program with DBCS data</h1>
|
|
<div><p>You can use QCMDEXC to request double-byte character set (DBCS)
|
|
input data to be entered with a command. </p>
|
|
<div class="section"> <p>The command format used for QCMDEXC to prompt double-byte data
|
|
is: </p>
|
|
<pre>CALL QCMDEXC ('command' command-length IGC)</pre>
|
|
<p>The third parameter of the QCMDEXC program, IGC, instructs
|
|
the system to accept double-byte data. For example, the following CL program
|
|
asks a user to provide double-byte text for a message. Then the system sends
|
|
the following message: </p>
|
|
<pre>PGM
|
|
CALL QCMDEXC ('?SNDMSG' 7 IGC)
|
|
ENDPGM</pre>
|
|
<p>An explanation of the system message follows:
|
|
</p>
|
|
<ul><li>The <samp class="codeph">?</samp> character instructs the system to present the command
|
|
prompt for the <span class="cmdname">Send Message (SNDMSG)</span> command.</li>
|
|
<li>The value <samp class="codeph">7</samp> is the length of the <span class="cmdname">Send Message
|
|
(SNDMSG)</span> command plus the question mark.</li>
|
|
<li>The value <samp class="codeph">IGC</samp> allows you to request double-byte data.</li>
|
|
</ul>
|
|
<p>The following display is shown after running the QCMDEXC program.
|
|
You can use double-byte conversion on this display: </p>
|
|
<pre class="screen"> SEND MESSAGE (SNDMSG)
|
|
|
|
TYPE CHOICES, PRESS ENTER.
|
|
|
|
MESSAGE TEXT . . . . . . . . . . . . _______________________________________
|
|
_____________________________________________________________________________
|
|
_____________________________________________________________________________
|
|
_____________________________________________________________________________
|
|
_____________________________________________________________________________
|
|
_____________________________________________________________________________
|
|
___________________________________________________________________
|
|
TO USER PROFILE . . . . . . . . . . __________ NAME, *SYSOPR, *ALLACT...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BOTTOM
|
|
F3=EXIT F4=PROMPT F5=REFRESH F10=ADDITIONAL PARAMETERS F12=CANCEL
|
|
F13=HOW TO USE THIS DISPLAY F24=MORE KEYS </pre>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="execp.htm" title="Execute Command (QCMDEXC) is an IBM-supplied program that runs a single command.">QCMDEXC program</a></div>
|
|
</div>
|
|
<div class="relinfo"><strong>Related information</strong><br />
|
|
<div><a href="../apis/qcmdexc.htm">Execute Commands (QCMDEXC) API</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |