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

69 lines
4.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="CCSID of the text returned (TXTCCSID) return field" />
<meta name="abstract" content="TXTCCSID is the CCSID of the text returned." />
<meta name="description" content="TXTCCSID is the CCSID of the text returned." />
<meta name="DC.Relation" scheme="URI" content="rbagsretmsgcomapiccsidsup.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/wrkmsgd.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="rbagstxtccsidretfld" />
<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>CCSID of the text returned (TXTCCSID) return field</title>
</head>
<body id="rbagstxtccsidretfld"><a name="rbagstxtccsidretfld"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">CCSID of the text returned (TXTCCSID) return field</h1>
<div><p>TXTCCSID is the CCSID of the text returned.</p>
<div class="section"><p>If a conversion occurs and is successful, this value is always
equal to the CCSID-to-convert-to value. If a conversion occurs and is not
successful, this is the CCSID of the message file unless the CCSID of the
message file is 65534. If the CCSID of the message file is 65534, the CCSID
of the message description is returned.</p>
<p>For example, message file MYMSGF
has a CCSID of 65534. Your program needs to know the CCSID of message description
TST0004. Specify the RTVMSG command as follows:</p>
<pre>RTVMSG MSGF(MYMSGF) MSGID(TST0004) CCSID(*HEX)
TXTCCSID(&amp;TXTCCSID);</pre>
<p>The CCSID of the message description
is returned in the variable &amp;TXTCCSID because you specified *HEX for the
CCSID-to-convert-to parameter. *HEX means no conversion is to occur. If no
conversion occurs and the message file CCSID is 65534, the message description
CCSID is returned.</p>
<p>You can also obtain the message description CCSID
from the Work with Message Descriptions (WRKMSGD) display.</p>
</div>
<ol><li class="stepexpand"><span>On the WRKMSGD display, select option 5 to display details.</span></li>
<li class="stepexpand"><span>From the Select Message Details to Display menu, select option
5 to display message attributes.</span></li>
<li class="stepexpand"><span>Page forward to the CCSID value.</span> <p>The message description
CCSID is shown if the CCSID of the message file is 65534. If the CCSID of
the message file is not 65534, the CCSID of the message file is shown.</p>
</li>
</ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbagsretmsgcomapiccsidsup.htm" title="The Retrieve Message (RTVMSG) command and retrieve message (QMHRTVM) application programming interface (API) have a CCSID-to-convert-to parameter. This parameter determines which CCSID the first- and second-level text is converted to before the text is returned to the user.">Retrieve messages</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="../cl/wrkmsgd.htm">Work with Message Descriptions (WRKMSGD) command</a></div>
</div>
</div>
</body>
</html>