178 lines
9.6 KiB
HTML
178 lines
9.6 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="3270 keyboard mapping for Telnet servers" />
|
||
|
<meta name="abstract" content="This topic helps you to understand keyboard mapping for support of 3270 emulation." />
|
||
|
<meta name="description" content="This topic helps you to understand keyboard mapping for support of 3270 emulation." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaiwmanage3270.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaiwstrt3270session.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="rzaiwkeybrdmap3270" />
|
||
|
<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>3270 keyboard mapping for Telnet servers</title>
|
||
|
</head>
|
||
|
<body id="rzaiwkeybrdmap3270"><a name="rzaiwkeybrdmap3270"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">3270 keyboard mapping for Telnet servers</h1>
|
||
|
<div><p>This topic helps you to understand keyboard mapping for support
|
||
|
of 3270 emulation.</p>
|
||
|
<p>The following table shows the default PF key assignments to perform the
|
||
|
various 5250 functions. You can use the Display Keyboard Map (DSPKBDMAP) command
|
||
|
to see the current keyboard mapping. Or, you can use option 6 (Display 3270
|
||
|
keyboard map) on the Configure TCP/IP Telnet Menu, while your terminal is
|
||
|
in 3270 emulation mode.</p>
|
||
|
|
||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><caption>Table 1. Default PF key assignments</caption><thead align="left"><tr><th valign="top" id="d0e25">5250 function key</th>
|
||
|
<th valign="top" id="d0e27">Default 3270 keys to select function</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody><tr><td valign="top" headers="d0e25 ">Help</td>
|
||
|
<td valign="top" headers="d0e27 ">PF1</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e25 ">3270 Help</td>
|
||
|
<td valign="top" headers="d0e27 ">PF2</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e25 ">Clear</td>
|
||
|
<td valign="top" headers="d0e27 ">PF3</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e25 ">Print</td>
|
||
|
<td valign="top" headers="d0e27 ">PF4</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e25 ">Display Embedded Attributes</td>
|
||
|
<td valign="top" headers="d0e27 ">PF5</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e25 ">Test Request</td>
|
||
|
<td valign="top" headers="d0e27 ">PF6</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e25 ">Roll Down</td>
|
||
|
<td valign="top" headers="d0e27 ">PF7</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e25 ">Roll Up</td>
|
||
|
<td valign="top" headers="d0e27 ">PF8</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e25 ">Error Reset</td>
|
||
|
<td valign="top" headers="d0e27 ">PF10 or Enter</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e25 ">Sys Req</td>
|
||
|
<td valign="top" headers="d0e27 ">PF11</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e25 ">Record Backspace</td>
|
||
|
<td valign="top" headers="d0e27 ">PF12</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e25 ">F1 through F12</td>
|
||
|
<td valign="top" headers="d0e27 ">Press PA1, then one of the following: PF1 through PF12</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e25 ">F13 through F24</td>
|
||
|
<td valign="top" headers="d0e27 ">Press PA2, then one of the following: PF1 through PF12 or PF13 through
|
||
|
PF24 (if present)</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e25 ">Field Exit</td>
|
||
|
<td valign="top" headers="d0e27 ">Erase EOF, then Field Tab</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e25 ">Attention</td>
|
||
|
<td valign="top" headers="d0e27 ">For 3277 use Test Request, then PA1. For 3278/3279 use ATTN key</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<p>The following example CL program sets the keyboard map for a 327x-type
|
||
|
workstation that is using Telnet to go to an iSeries™ server. This program maps the iSeries function
|
||
|
keys to their equivalent function keys on the 327x workstation. If you attempt
|
||
|
to run a CHGKBDMAP command from a workstation not in 3270 emulation mode,
|
||
|
you will receive the CPF8701 message. By monitoring it, the rest of the program
|
||
|
goes unused in these circumstances.</p>
|
||
|
<pre>PGM</pre>
|
||
|
<pre>MONMSG MSGID(CPF8701 CPF0000)</pre>
|
||
|
<pre>CHGKBDMAP PF1(*F1) PF2(*F2) PF3(*F3) PF4(*F4) PF5(*F5) </pre>
|
||
|
<pre>PF6(*F6) PF7(*DOWN) PF8(*UP) PF9(*F9)</pre>
|
||
|
<pre>PF10(*F10) PF11(*F11) PF12(*F12)</pre>
|
||
|
<pre>PA1PF1(*HELP) PA1PF2(*HLP3270)</pre>
|
||
|
<pre>PA1PF3(*CLEAR) PA1PF4(*PRINT)</pre>
|
||
|
<pre>PA1PF5(*DSPATR) PA1PF6(*TEST) PA1PF7(*F7)</pre>
|
||
|
<pre>PA1PF8(*F8) PA1PF9(*ATTN) PA1PF10(*RESET)</pre>
|
||
|
<pre>PA1PF11(*SYSREQ) PA1PF12(*BCKSPC)</pre>
|
||
|
<pre>ENDPGM</pre>
|
||
|
<p>By storing this CL source as part of the QCLSRC file in library TCPLIB
|
||
|
as member CHGKBD, you can create the CL program CHGKBD into the TCPLIB library
|
||
|
by using the following CL command:</p>
|
||
|
<pre>CRTCLPGM PGM(TCPLIB/CHGKBD) SRCFILE(TCPLIB/QCLSRC)
|
||
|
TEXT('Change the keyboard mapping for 327x terminals') </pre>
|
||
|
<p>The CHGKBD program can then be called by anyone using Telnet to an iSeries server.
|
||
|
It can also be called automatically at sign-on time by specifying the CHGKBD
|
||
|
program for the Initial program parameter on the CHGUSRPRF command, or the
|
||
|
CHGKBD program can be called by the profile's initial program.</p>
|
||
|
<div class="section"><h4 class="sectiontitle">PA1 and PA2 keys on a PC keyboard</h4><p>The PA1 and PA2
|
||
|
keys do not appear on a PC keyboard. A keyboard map in your 3270 emulator
|
||
|
provides the function of these 3270 keys on a PC keyboard.</p>
|
||
|
<p>The default
|
||
|
3270 Telnet keyboard map uses these keys. Therefore, it is important that
|
||
|
you know where these keys are on the keyboard before starting a 3270 Telnet
|
||
|
session. This is especially important if you are planning to start a session
|
||
|
without changing the keyboard mapping. You should refer to your emulator documentation
|
||
|
for the keys or keystrokes required to provide these functions.</p>
|
||
|
<p>There
|
||
|
are some 5250 key sequences for which there is no supported 3270 key sequence
|
||
|
and, therefore, it is not possible to set these keyboard commands on a 3270.
|
||
|
These key sequences are:</p>
|
||
|
<ul><li>Field Plus</li>
|
||
|
<li>Field Minus</li>
|
||
|
<li>Erase all input fields</li>
|
||
|
</ul>
|
||
|
<p>The 5250 Field Exit Key function is performed on a 3270 keyboard using
|
||
|
the Erase EOF key and then the tab key.</p>
|
||
|
</div>
|
||
|
<div class="section"><h4 class="sectiontitle">Special circumstances</h4><p>When using Telnet 3270 full-screen
|
||
|
mode from the 3270 terminal and before the default mapping for the terminal
|
||
|
is changed, the keys PF1 to PF12 might be emulated by the key sequence PA1
|
||
|
PFx. Therefore, instructions like Press PF3 or Press PF4 should read: Press
|
||
|
PA1 PF3 and Press PA1 PF4, before creating a new keyboard map.</p>
|
||
|
<p>Depending
|
||
|
on the installation of the Telnet client for the host for example VM Telnet
|
||
|
client, when pressing PA1, the user might get the instruction <samp class="codeph">TELNET
|
||
|
command:</samp> at the bottom line of the display. If the system displays
|
||
|
this instruction type: <samp class="codeph">PA1</samp>, press the Enter key; move the
|
||
|
cursor to the command line; and press the desired PF key. In this case, the
|
||
|
following commands can emulate PF1 to PF12:</p>
|
||
|
<ol><li>Press PA1, get the Telnet instruction <samp class="codeph">TELNET command</samp> .</li>
|
||
|
<li>Type <samp class="codeph">PA1</samp>, press the Enter key.</li>
|
||
|
<li>Move the cursor to the command line.</li>
|
||
|
<li>Press the desired PF key.</li>
|
||
|
</ol>
|
||
|
<p>For additional keyboard mapping information, see Appendix D. TELNET
|
||
|
3270 Keyboard Mappings.</p>
|
||
|
<div class="note"><span class="notetitle">Note:</span> The <span class="uicontrol">Host Command Facility (HCF)</span> is
|
||
|
a feature available on System/370™ , 43xx, and 30xx host systems. This
|
||
|
feature enables a user on the host system to use applications on an iSeries server.
|
||
|
If you use HCF to connect to an iSeries server and then use Telnet to
|
||
|
sign on to another iSeries server from that iSeries server, you are in a 3270 full-screen
|
||
|
mode session. The keyboard maps twice, once for the initial HCF session and
|
||
|
once for the Telnet session. To use your PF keys the way you normally would,
|
||
|
you must change the keyboard mapping on both iSeries server. Make sure that you use
|
||
|
the same keyboard mapping on each iSeries server.</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiwmanage3270.htm" title="3270 Telnet client sessions provide information on using this emulation type to sign on and use applications on a remote system that has a Telnet server application. This section also provides more information on 3270 emulation.">3270 Telnet client sessions</a></div>
|
||
|
</div>
|
||
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
||
|
<div><a href="rzaiwstrt3270session.htm" title="This topic explains how you can start a Telnet client session using 3270 emulation.">Start a 3270 Telnet client session</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|