ibm-information-center/dist/eclipse/plugins/i5OS.ic.rbam6_5.4.0.1/dbmsg.htm

63 lines
4.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="task" />
<meta name="DC.Title" content="Define double-byte messages" />
<meta name="abstract" content="To define a message with double-byte text, you can write a CL procedure or program using the Add Message Description (ADDMSGD) command. The defined message is put into a message file and then sent normally." />
<meta name="description" content="To define a message with double-byte text, you can write a CL procedure or program using the Add Message Description (ADDMSGD) command. The defined message is put into a message file and then sent normally." />
<meta name="DC.subject" content="message, double-byte, defining, double-byte data, defining double-byte message, double-byte message, DBCS (double-byte character set), defining message, double-byte character set (DBCS)" />
<meta name="keywords" content="message, double-byte, defining, double-byte data, defining double-byte message, double-byte message, DBCS (double-byte character set), defining message, double-byte character set (DBCS)" />
<meta name="DC.Relation" scheme="URI" content="amsgf.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="dbmsg" />
<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>Define double-byte messages</title>
</head>
<body id="dbmsg"><a name="dbmsg"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Define double-byte messages</h1>
<div><p>To define a message with double-byte text, you can write a CL procedure
or program using the <span class="cmdname">Add Message Description (ADDMSGD)</span> command.
The defined message is put into a message file and then sent normally. </p>
<div class="section"> <p> When writing the program, do the following: </p>
<ol><li>Make sure the source file containing the program is a double-byte file.
Specify IGCDTA(*YES) on the <span class="cmdname">Create Source Physical File (CRTSRCPF)</span> command.</li>
<li>Use the source entry utility (SEU) to enter the program. CL commands using
double-byte characters can only be entered through SEU. For this reason,
double-byte messages must be created in a CL program.</li>
<li>Limit the length of the message to 37 double-byte characters, so the complete
message can be displayed or printed. <p>When using the <span class="cmdname">Monitor
Message (MONMSG)</span> command, also limit the Comparison Data (CMPDATA)
parameter to 6 double-byte characters.</p>
</li>
<li>If the double-byte message file replaces an alphanumeric message file
(such as files of translated messages to be sent only to double-byte display
stations), enter a command similar to the following to override the alphanumeric
message file: <pre>OVRMSGF MSGF(QCPFMSG) TOMSGF(DBCSLIB/QCPFMSG)</pre>
<p>Double-byte messages can be displayed only at double-byte display
stations.</p>
</li>
</ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="amsgf.htm" title="You use the Add Message Description (ADDMSGD) command to describe your predefined messages and to add them to the message file you created.">Add messages to a file</a></div>
</div>
</div>
</body>
</html>