We did something similar at my last job. The field was described as 12Y 0, CHECK(RZ)
Don't know if this helps but it worked perfectly for us.
Larry Granat
NALC Health Benefit Plan
703-729-4677 Ext 8236
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Justin Taylor
Sent: Friday, February 3, 2017 2:25 PM
To: Midrange Systems Technical Discussion
Subject: RE: 5250 Field Exit hex code
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
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
CONFIDENTIALITY NOTICE: This electronic message transmission is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. If you have received this transmission, but are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this information is strictly prohibited. If you have received this e-mail in error, please contact NALC Health Benefit Plan at 703-729-4677 and delete and destroy the original message and all copies.
As an Amazon Associate we earn from qualifying purchases.