|
From: Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx> Reply-To: RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> To: RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> Subject: Re: Hex Code for Field+ key Date: Fri, 1 Apr 2005 11:05:05 -0600 (CST)
Hi Bob,
I think what would solve the problem is checking for the hex code for the field exit key. I cannot find the hex value of the key in any of the books I have. They all only show X'3F' for Auto Enter and X'F1' for Enter. Is there a value for the field exit(+) key?
This is a good example of having demands from your customers/users that exceed what is possible with the 5250 datastream!
In 5250, the system sends an entire screen of data to the emulator. Then, it's the emulator's job to deal with everything that the user types until he/she hits ENTER or a function key (what they call an AID generating key)
When the user hits Field+ or FieldExit or Field- or anything like that, the emulation software adjusts the field as appropriate and moves the cursor to the next field. Nothing gets sent to the iSeries. The iSeries doesn't even know that there is a FieldExit key. For all it knows, the user typed the field right-adjusted in the first place.
There's a special code that the iSeries can send to the emulator when it sends the screen that says "if the user exits this field, pretend he/she pressed ENTER"... in other words, CHECK(ER) but, the iSeries doesn't know anything else about it, aside from "the auto-enter was triggered"
The 5250 protocol is designed for 1970's green screen terminals. Since you clearly have the need, you should consider upgrading to a Web interface or a true GUI interface.
-- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.