× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



After sound trial-and-error, I've determined that the barcode reader is using the standard ASCII chart (e.g. 6b == k, & 57 == W).

-----Original Message-----
From: James H. H. Lampert [mailto:jamesl@xxxxxxxxxxxxxxxxx]
Sent: Friday, February 03, 2017 12:20 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: Re: 5250 Field Exit hex code

On 2/3/17, 9:48 AM, Justin Taylor wrote:
I need to program a Field Exit into a barcode reader, but I can't find
the hex code. I found an IBM doc, "VTxxx key values by 5250
function", but those codes didn't work.

Remember: 5250 data stream is a block-mode protocol. Until you hit an AID key (or SysRq or Attention), everything you do on the keyboard happens locally.

Field Exit is neither a character nor an AID code; rather, it's a local cursor control key (with an erase-to-end-of-field function added). So how is this barcode reader connected? Is it somehow wedged into the keyboard line on an actual terminal? In that case, I would think you'd need whatever passes for a raw keyboard scan code.

Maybe the folks at Unicomp might be able to help: they do, after all, still custom-build actual 5250 terminal keyboards. The worst that could happen would be that they wouldn't tell you, which leaves you no worse off than before.

If it's in the keyboard line for something other than an IBM terminal, it's probably a PC keyboard of some sort, in which case you'd presumably want the scan code for whatever key is mapped into the Field Exit function.

--
JHHL


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.