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

68 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="concept" />
<meta name="DC.Title" content="System reply list" />
<meta name="abstract" content="The system reply list has a CCSID of 65534. You cannot change or display this value." />
<meta name="description" content="The system reply list has a CCSID of 65534. You cannot change or display this value." />
<meta name="DC.Relation" scheme="URI" content="rbagsccsidmsgsup2.htm" />
<meta name="DC.Relation" scheme="URI" content="rbagsmsgqueuesccsidsupport.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/addrpyle.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/chgrpyle.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="rbagssysreplstccsidsuprt" />
<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>System reply list</title>
</head>
<body id="rbagssysreplstccsidsuprt"><a name="rbagssysreplstccsidsuprt"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">System reply list</h1>
<div><p>The system reply list has a CCSID of 65534. You cannot change or display this value.</p>
<p>The only part of the system reply list that is affected by CCSID processing is the Compare data field. If the Compare data field references replacement data that is defined as *CCHAR, the data being
compared must be in a common CCSID before the comparison is done.</p>
<p>Any reply list entry that has compare data is tagged with the CCSID supplied on the ADDRPYLE or CHGRPYLE commands. When the system reply list is used, the replacement data is converted to
the CCSID of the compare data before the comparison is made and before the message is sent to the message queue. This ensures that the data is in a common CCSID before the comparison is done.</p>
<div class="section"><h4 class="sectiontitle">Example: System reply list and converted-character compare data</h4><p>Enter the following Add Reply List Entry command:</p>
<pre>ADDRPYLE SEQNBR(101) MSGID(TST0010) CMPDTA(X'00017B') RPY(*DFT) +
CCSID(37)</pre>
<p>X'7B' is the number sign (#) on code page 00037. X'0001' is the length required for variable-length fields. The compare data is not converted when added to the system reply list.
It is tagged with CCSID 00037. Message TST0010 has one replacement data field that is defined as *CCHAR with (*VARY 2) for its length. Message queue MYMSGQ has a CCSID of 00278.</p>
<p>Send message TST0010
in a job that has the system reply list turned on using the following Send Program Message command:</p>
<pre>SNDPGMMSG MSGID(TST0010) MSGF(MYLIB/MYMSGF) MSGTYPE(*INQ) +
TOMSGQ(MYLIB/MYMSGQ) MSGDTA(X'00014A') CCSID(277)</pre>
<p>The replacement data is converted from CCSID 00277 to CCSID 00037 and then compared with the compare data. The conversion results in replacement
data X'00017B'. A match is found and the default reply is sent when this message is added to the message queue.</p>
<p>When the message is added to the message queue, the replacement data is converted from
CCSID 00277 to CCSID 00278. The message queue CCSID does not matter when trying to match the compare data. The replacement data is converted to X'000163' when it is sent to the message queue and tagged
00278. X'63' is the code point for the number sign (#) in code page 00278.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbagsccsidmsgsup2.htm" title="Use CCSID support for handling messages and message catalogs on i5/OS.">CCSID support for messages</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rbagsmsgqueuesccsidsupport.htm" title="If you set CCSID processing on, system-supplied display files and printer files that display or print messages convert the CCSID of the message queue to the CCSID of the job before displaying or printing the messages.">Message queues</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="../cl/addrpyle.htm">Add Reply List Entry (ADDRPYLE) command</a></div>
<div><a href="../cl/chgrpyle.htm">Change Reply List Entry (CHGRPYLE) command</a></div>
</div>
</div>
</body>
</html>