Try using the SETKBDMAP command. This is a fragment from a old program
we use as INLPGM.
(I know it isn't perfect - the best way would be to check if the
devicetype was 3270, but thats another story.)

/*         Remote workstation?     */
RTVJOBA    JOB(&WS)
CHGVAR     &WS2  %SST(&WS 1 2)
IF         ((&WS2 *EQ 'BG')                              +
*OR        (&WS2 *EQ 'RW' )) THEN(DO)
  SETKBDMAP  PF13(*F1) PF14(*F2) PF15(*F3) PF16(*F4) +
                PF17(*F5) PF18(*F6) PF19(*F7) PF20(*F8) +
                PF21(*F9) PF22(*F10) PF23(*F11) +
                PF24(*F12) PA1PF1(*F13) PA1PF2(*F14) +
                PA1PF3(*F15) PA1PF4(*F16) PA1PF5(*F17) +
                PA1PF6(*F18) PA1PF7(*F19) PA1PF8(*F20) +
                PA1PF9(*F21) PA1PF10(*F22) PA1PF11(*F23) +
                PA1PF12(*F24)
  MONMSG CPF8701
  IF         (&COUNTRY *EQ '0') DO
    SNDSTSMSG  ('Def. av tangentbord')
  ENDDO
  IF         (&COUNTRY *EQ '1') DO
    SNDSTSMSG  (Remapping keyboard')
  ENDDO
ENDDO

/Joakim

Joakim Svensson
IT-Architect
Cap Gemini, Sweden


> -----Original Message-----
> I couldn't find a way to remap the keys.  I think we may be seeing an
> early version; at least I am thinking so.  I'd like to think there
> will be a real TN5250 one of these times, or even a TN5250 plug-in
> available soon on an IBM site.
> 
> boothmÉearth.goddard.edu
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.