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



Nick,
 
For this sort of application you might find that Visual Age RPG is a useful
option.  It ties in nicely with existing RPG applications and can replace
the programs you now have with full Windows function & features.  Its free,
it works.
 
 
 
---------------------------------------------------------
Booth Martin   http://www.MartinVT.com
Booth@xxxxxxxxxxxx
---------------------------------------------------------
 
-------Original Message-------
 
From: Java Programming on and around the iSeries / AS400
Date: Friday, April 11, 2003 23:00:57
To: Java Programming on and around the iSeries / AS400
Subject: Re: Java Dropdown Window from with RPG program
 
David,
 
You hit it on the nose what I am trying to do. I will elaborate a little
more.
 
Hardware: model 170
OS/400 v5.1 (soon to be going to 5.2)
Display stations: PC's using client access across a TCP/IP network.
Programs: RPG/ILE old style DDS green screens.
 
When the users are in an RPG program, I would like to give them "pop-up"
windows that display a selection of data to choose from. As an example for a
field asking for state, I would like the user to press a command key to show
a GUI dropdown application written in Java, which would display the states.
The user can then select the state with a nice GUI interface and that state
would be passed back to the RPG program.
 
You made mention to data-queues. Do you have any source code example you can
refer me to that might be doing this type of work. Eventually I would like
to convert the old "green screen" programs to all GUI when I get a handle on
what I need to do this.
 
Thanks.
 
Nick.
 
 
----- Original Message -----
From: "David Gibbs" <david@xxxxxxxxxxxx>
To: <java400-l@xxxxxxxxxxxx>
Sent: Friday, April 11, 2003 3:22 PM
Subject: Re: Java Dropdown Window from with RPG program
 
 
> "Nick Leonessa"
> <nleonessa@xxxxxxxxxxxxxxxxxxx> wrote in
> message news:002a01c3005a$209d4420$0302a194@xxxxxxxxx
> > I would like to access a Java program that displays a dropdown window
> > containing as/400 information.
> > I would like to access this from an RPG program when the user requests
> > field value information.
> > I would need the ability to pass parms to and from the Java program.
>
> Ok, this is a total shot in the dark ... as I really don't understand what
> you are trying to accomplish (please elaborate for a better answer) ...
>
> I'm assuming that you want to initiate a request from a rpg program for a
> java program to pop up a gui where the user can select information, and
then
> have that selection returned to the RPG program. Close?
>
> If so, then data queue's are your friend :)
>
> Write your java program so that it monitors for entries on a data queue
....
> when it receives a entry, pop up your list, accept the selection, and then
> have it send the result to another data queue.
>
> Your RPG program can send the request for a selection to the first data
> queue, and then wait for an entry on the 2nd data queue with the results.
>
> david


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.