× 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.



One thing I overlooked when I posted is the application is on Windows.
The data gets downloaded from the the i.

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Shannon ODonnell
Sent: Wednesday, August 13, 2008 2:35 PM
To: 'RPG programming on the AS400 / iSeries'
Subject: RE: Auto advancing display screen

As someone pointed out earlier, a bar code scanner, at least all the
ones I
ever wrote programs to interface with, automatically shot an enter key
escape character to the 5250 screen. Did you try this to see if yours
does
this or not? It's been a long long time since I did this last but I
seem to
remember using CHECK(ER) along with the scanner's own enter escape
character
that was automatically fed to my program(s).


As far as hitting enter to refresh the screen...You can have the 5250
screen
auto-update by letting it use a data queue (in addition to the keyboard)
to
implement an auto-refresh. Then you can avoid forcing them to hit the
Enter
key to refresh it.

Look around on the web for examples. I remember doing this back in 1992
or
1993 based on an article floating around in one of the magazines back
then.
I'm sure it's been "rediscovered" once or twice since then and hauled
back
out to be published as if it was a new idea. That sort of thing happens
constantly with the iSeries. I've seen it on this list more times than
I
can count.





-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Phil Kestenbaum
Sent: Wednesday, August 13, 2008 1:07 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: Auto advancing display screen

I would like to do something along these lines for a field to take some
kind of bar code as if it is an enter key. This would save the shipper
from having to leave the packages area and go back to the screen for
each package, to just have to hit enter to continue to Refresh the
screen.

Thank you,
Phil

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Craig Jacobsen
Sent: Wednesday, August 13, 2008 1:58 PM
To: 'RPG programming on the AS400 / iSeries'
Subject: RE: Auto advancing display screen




Bar code readers(*) do it by simply by appending the control code for
enter
to the data stream.

What is the control code (in hex)? This is what I want to concatenate
to
the end of the field!

*At least those that are attached via an actual or emulated keyboard
wedge.
When the data hits the
hardware, it looks just like the data was typed in and enter pressed.

Not sure what you are trying to do, how is the data getting into the
field?

Charles Wilt
--
Software Engineer
CINTAS Corporation - IT 92B
513.701.1307

wiltc@xxxxxxxxxx


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Craig Jacobsen
Sent: Wednesday, August 13, 2008 11:52 AM
To: 'RPG programming on the AS400 / iSeries'
Subject: Auto advancing display screen

Does anyone know a hex code I can append at the end of a field to act
like
enter?
Barcode readers can usually be configured to auto enter a scan.
How do they do it?

TIA,

Craig





This e-mail transmission contains information that is intended to be
confidential and privileged. If you receive this e-mail and you are not
a
named addressee you are hereby notified that you are not authorized to
read,
print, retain, copy or disseminate this communication without the
consent of
the sender and that doing so is prohibited and may be unlawful. Please
reply to the message immediately by informing the sender that the
message
was misdirected. After replying, please delete and otherwise erase it
and
any attachments from your computer system. Your assistance in
correcting
this error is appreciated.

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.