<?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="History log" /> <meta name="abstract" content="The history log is a database file that is tagged with CCSID 65535. You cannot change the CCSID of the history log. No conversions occur when you do database retrievals from the history file." /> <meta name="description" content="The history log is a database file that is tagged with CCSID 65535. You cannot change the CCSID of the history log. No conversions occur when you do database retrievals from the history file." /> <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="rbagsjobmsgqueccsidsuprt.htm" /> <meta name="DC.Relation" scheme="URI" content="../rbam6/clpro.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="rbagshistlogccsidsuprt" /> <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>History log</title> </head> <body id="rbagshistlogccsidsuprt"><a name="rbagshistlogccsidsuprt"><!-- --></a> <!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script> <h1 class="topictitle1">History log</h1> <div><p>The history log is a database file that is tagged with CCSID 65535. You cannot change the CCSID of the history log. No conversions occur when you do database retrievals from the history file.</p> <div class="section"><p>You can use CCSID processing when working with the history log. The CCSID of the replacement data or immediate message text is added to the history log record. If the history log record is for a stored message, CCSID processing occurs only for the *CCHAR replacement data in that record.</p> <p>You can retrieve a message from the history log and convert it into a specific CCSID by following these steps:</p> </div> <ol><li class="stepexpand"><span>Obtain the input variables &MSGFL, &MSGF, &MSGID, &MSGDTA, and &MDTACCSID, from the history log record. (See the CL Programming PDF for the layout of the history log record.)</span></li> <li class="stepexpand"><span>Enter the following Retrieve Message command:</span> <pre>RTVMSG MSGF(&MSGFL/&MSGF); MSGID(&MSGID); MSGDTA(&MSGDTA); + MDTACCSID(&MDTACCSID); MSG(&MSG);</pre> </li> </ol> <div class="section"><p>If you set CCSID processing on, system-supplied display files and printer files that display or print history log records convert the CCSID of the messages to the CCSID of the job before displaying or printing the messages. To print and display the messages correctly, your job CCSID setting must be the same as the code page portion of your device CHRID setting.</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><a href="rbagsjobmsgqueccsidsuprt.htm" title="The CCSID for all job message queues is 65534. You cannot change or display this value. A job message queue CCSID of 65534 requires fewer CCSID conversions. Fewer CCSID conversions of text result in better performance and improved data integrity.">Job message queues</a></div> </div> <div class="relinfo"><strong>Related information</strong><br /> <div><a href="../rbam6/clpro.htm">CL Programming</a></div> </div> </div> </body> </html>