<?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="reference" /> <meta name="DC.Title" content="VTxxx national mode" /> <meta name="abstract" content="VTxxx national mode supports the national replacement character set, which is a group of 7-bit character sets." /> <meta name="description" content="VTxxx national mode supports the national replacement character set, which is a group of 7-bit character sets." /> <meta name="DC.Relation" scheme="URI" content="rzaiwcvtmap.htm" /> <meta name="DC.Relation" scheme="URI" content="rzaiwstrtvtxxxsession.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="rzaiwvtnatmode" /> <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>VTxxx national mode</title> </head> <body id="rzaiwvtnatmode"><a name="rzaiwvtnatmode"><!-- --></a> <!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script> <h1 class="topictitle1">VTxxx national mode</h1> <div><p>VTxxx national mode supports the national replacement character set, which is a group of 7-bit character sets.</p> <div class="section"><p>Only one character set from the group is available for use at any one time. VT220 also supports the standard 7-bit ASCII character set as part of the national mode. The VT220 terminal supports the following national languages in 7-bit ASCII character sets:</p> <ul><li>British</li> <li>Danish</li> <li>Dutch</li> <li>Finnish</li> <li>French</li> <li>French/Canadian</li> <li>German</li> <li>Italian</li> <li>Norwegian</li> <li>Spanish</li> <li>Swedish</li> <li>Swiss</li> <li>U.S. English</li> </ul> <p>To use a national mode, the system requires mapping tables to map incoming ASCII data into EBCDIC and outgoing EBCDIC data into ASCII when operating in VTxxx full-screen mode.</p> <p>Use the CCSID parameter on the Telnet command to select a national mode that is, a NLS mapping table.</p> <p>Entering a numeric value representing a registered CCSID value in the range 1-65553, is one way to identify the appropriate mapping table. The <cite>International Application Development</cite> book contains details of registered CCSIDs.</p> <p>The NLS mapping tables are built dynamically to a remote system the first time Telnet is used, and are based on DEC national replacement character sets. Because the character sets are 7-bit based, they can contain only the unique characters from one country. Because the DEC multinational character set is 8-bit based, it allows for the inclusion of the unique characters from a group of countries.</p> </div> <div class="section"><h4 class="sectiontitle">Identify table objects</h4><p>You can identify the table objects (*TBL) using the Work with Object command: <samp class="codeph">WRKOBJ OBJ(QUSRSYS/Q*) OBJTYPE(*TBL)</samp></p> <p>All of the system table objects are in QUSRSYS library.</p> <p>The table objects are named <samp class="codeph">Qxxxyyyzzz</samp> where <samp class="codeph">xxx</samp> is the FROM code page, <samp class="codeph">yyy</samp> is the TO character set and <samp class="codeph">zzz</samp> is the TO code page.</p> <p>For the outgoing (EBCDIC-to-ASCII) table:</p> <ul><li>The FROM code page ID is taken from the code page ID in QCHRID of message description CPX8416 (use WRKMSGD CPX8416 to display), 037 in the figure below from a US English based system.</li> <li>The TO character set and code page are derived from the CCSID parameter used with the Telnet command.</li> </ul> <p>For the incoming (ASCII-to-EBCDIC) table:</p> <ul><li>The FROM code page ID is derived from the CCSID parameter used with the Telnet command.</li> <li>The TO character set and code page are taken from the character set ID and code page ID in QCHRID of message description CPX8416 (use WRKMSGD CPX8416 to display), 697 and 037 in the figure below from a US English based system.</li> </ul> <div class="fignone"><span class="figcap">Figure 1. Example CPX8416 message</span><pre>+--------------------------------------------------------------------------------+ | System: SYSNAM01 | |Message ID . . . . . . . . . : CPX8416 | |Message file . . . . . . . . : QCPFMSG | |Library . . . . . . . . . : QSYS | | | |Message . . . . : | |QCHRID 697 37 QCURSYM $ QDATFMT MDY QDATSEP / | |QDECFMT QLEAPADJ 0 QCCSID 37 QTIMSEP : QLANGID ENU | |QCNTRYID US QIGCCDEFNT *NONE | | | +--------------------------------------------------------------------------------+</pre> </div> <div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><thead align="left"><tr><th valign="top" id="d0e107">CCSID</th> <th valign="top" id="d0e109">Character set actual ID</th> <th valign="top" id="d0e111">Character set table ID</th> <th valign="top" id="d0e113">Code page actual ID</th> <th valign="top" id="d0e115">Code page actual ID</th> </tr> </thead> <tbody><tr><td valign="top" headers="d0e107 ">MULTINAT</td> <td valign="top" headers="d0e109 ">1290</td> <td valign="top" headers="d0e111 ">A05</td> <td valign="top" headers="d0e113 ">1100</td> <td valign="top" headers="d0e115 ">A5U</td> </tr> <tr><td valign="top" headers="d0e107 ">BRITISH</td> <td valign="top" headers="d0e109 ">1291</td> <td valign="top" headers="d0e111 ">A06</td> <td valign="top" headers="d0e113 ">1101</td> <td valign="top" headers="d0e115 ">A5V</td> </tr> <tr><td valign="top" headers="d0e107 ">1292</td> <td valign="top" headers="d0e109 ">A07</td> <td valign="top" headers="d0e111 ">1102</td> <td valign="top" headers="d0e113 ">A5W</td> <td valign="top" headers="d0e115 "> </td> </tr> <tr><td valign="top" headers="d0e107 ">1293</td> <td valign="top" headers="d0e109 ">A08</td> <td valign="top" headers="d0e111 ">1103</td> <td valign="top" headers="d0e113 ">A5X</td> <td valign="top" headers="d0e115 "> </td> </tr> <tr><td valign="top" headers="d0e107 ">289</td> <td valign="top" headers="d0e109 ">289</td> <td valign="top" headers="d0e111 ">1104</td> <td valign="top" headers="d0e113 ">A5Y</td> <td valign="top" headers="d0e115 "> </td> </tr> <tr><td valign="top" headers="d0e107 ">1192</td> <td valign="top" headers="d0e109 ">A8E</td> <td valign="top" headers="d0e111 ">1020</td> <td valign="top" headers="d0e113 ">A3M</td> <td valign="top" headers="d0e115 "> </td> </tr> <tr><td valign="top" headers="d0e107 ">265</td> <td valign="top" headers="d0e109 ">265</td> <td valign="top" headers="d0e111 ">1011</td> <td valign="top" headers="d0e113 ">A3D</td> <td valign="top" headers="d0e115 "> </td> </tr> <tr><td valign="top" headers="d0e107 ">293</td> <td valign="top" headers="d0e109 ">293</td> <td valign="top" headers="d0e111 ">1012</td> <td valign="top" headers="d0e113 ">A3E</td> <td valign="top" headers="d0e115 "> </td> </tr> <tr><td valign="top" headers="d0e107 ">1297</td> <td valign="top" headers="d0e109 ">BAB</td> <td valign="top" headers="d0e111 ">1107</td> <td valign="top" headers="d0e113 ">A52</td> <td valign="top" headers="d0e115 "> </td> </tr> <tr><td valign="top" headers="d0e107 ">1195</td> <td valign="top" headers="d0e109 ">A8H</td> <td valign="top" headers="d0e111 ">1023</td> <td valign="top" headers="d0e113 ">A3P</td> <td valign="top" headers="d0e115 "> </td> </tr> <tr><td valign="top" headers="d0e107 ">1296</td> <td valign="top" headers="d0e109 ">BAA</td> <td valign="top" headers="d0e111 ">1106</td> <td valign="top" headers="d0e113 ">A51</td> <td valign="top" headers="d0e115 "> </td> </tr> <tr><td valign="top" headers="d0e107 ">1193</td> <td valign="top" headers="d0e109 ">A8F</td> <td valign="top" headers="d0e111 ">1021</td> <td valign="top" headers="d0e113 ">A3N</td> <td valign="top" headers="d0e115 "> </td> </tr> </tbody> </table> </div> <p>For example, on a British system with a QCHRID of 697 285 (character set 697 code page 285) in message CPX8416 that uses Telnet with CCSID(*BRITISH), the tables will have the following names:</p> <ul><li>Outgoing (EBCDIC-to-ASCII) Q285A06A5V</li> <li>Incoming (ASCII-to-EBCDIC) QA5V697285</li> </ul> </div> <div class="section"><h4 class="sectiontitle">User-Defined mapping tables (ASCII Mode)</h4><p>Where the multinational or NLS mapping tables do not meet the requirements of a user, user-defined character mapping tables can be created and used.</p> <p>You also have the ability to specify user-defined mapping tables using the outgoing ASCII-to-EBCDIC table (TBLVTOUT) and incoming ASCII-to-EBCDIC table (TBLVTIN) parameters of the STRTCPTELN command. You can specify a user-defined mapping table for either the outgoing mapping table or the incoming mapping table, and then use the system default value for the other.</p> </div> </div> <div> <div class="familylinks"> <div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiwcvtmap.htm" title="VTxxx key values provide keyboard mapping for support of VTxxx emulation.">VTxxx key values</a></div> </div> <div class="relconcepts"><strong>Related concepts</strong><br /> <div><a href="rzaiwstrtvtxxxsession.htm" title="You can start a Telnet client session using VTxxx emulation.">Start a VTxxx Telnet client session</a></div> </div> </div> </body> </html>