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



At the time that code was written there probably was not a Select/EndSl
Opcode.  I've found the best use of programming time in those design
situations is to consider changing the code to Select and to change the GOTO
sections to sub routines.  A user can not choose two function keys at the
same time so there should be no conflicts with logic.
 
 
 
---------------------------------------------------------
Booth Martin   http://www.MartinVT.com
Booth@xxxxxxxxxxxx
---------------------------------------------------------
 
-------Original Message-------
 
From: RPG programming on the AS400 / iSeries
Date: Thursday, July 10, 2003 07:30:13
To: RPG400-L@xxxxxxxxxxxx
Subject: Single Page Subfile Example
 
Hi Group,
 
Please let me know if there are any sample codes for wrtitng a typical
maintainance single page subfile example in RPG IV.I understand that to keep
the options , that user has selected on the screen, arrays have to be used
for storing.So that when Page down has been pressed, and again page up is
done i donot lose the options that the users have entered .Any example on
how this 
has to be done?
 
I have been maintaining some old codes of Load all and Expanding
maintainance sub files.But they are not very structured in the sense that
they use a lot of Go to statements to handle various events after different
screens are presented..Is it possible to have a single EXFMT in the code and
also a single set of subroutines for handling 'keys pressed' events instead
of multiple EXFMTs and same set of 'keys pressed ' subroutine copied again &
again?
 
Please point me toward good structured RPGIV code samples
 
 
Thanks and regards
Chandra Sekhar Rath


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.