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



My own experience pre-subfile was to use an array with a data structure for the elements. The data structure matched the screen needs. I loaded the array first. Then it was reasonably simple to have a loop to load the screen fields from the needed array element.



Bill Hopkins wrote:
Thanks Rob and Booth RPG II being written on RS6000 / UNIBOL.
I have already written one since the email.....but since it has been few
years for me and RPG II I am still looking for one to compare against.
(Yes I do mean "pre-subfile days and rolling on our own".) X-Wife
decided to clean up my template library for me or I would have had one
already. And the ones at the client .....let's just say they are not the best to copy and start off with. :) Last job was RPG Free (3 year contract) so I want to make sure what I
remember was the best/correct way to code and to set me up with a good
template for programming the next year or so.

Thanks again
Bill




-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Booth Martin
Sent: Friday, September 22, 2006 2:21 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: RPG II

http://tinyurl.com/kczww

http://www.martinvt.com/Code_Samples/Dropdown_box/dropdown_box.html

This is RPGII-like, but in RPGIV. Its pretty short, so you should be able to adapt it fairly easily.

I am dying of curiosity;  Why?  What possible reason is there for this?

Or did you want to go all the way back to pre-subfile days, when we had to roll our own?


Bill Hopkins wrote:
Would anyone be able provide a good example of a simple RPG II program
that acts like a subfile with record selection? Thanks in advance.
Bill




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.