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



The nice thing about message files is the way overrides work. If you
override msgfA with msgfB, then if the msgid the program is looking for
isn't in msgfB then it will still take if from msgfA. This means that
msgfB only has to have the msgids that actually differ from those in
msgfA. If you do this with file overrides, then the overriding file has
to include all the records in the overridden file otherwise the program
will not be able to find them.

Trevor Briggs
Analyst/Programmer
Lincare, Inc.
(727) 431-1246
TBriggs2@xxxxxxxxxxx

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Michael Schutte
Sent: Friday, August 23, 2013 8:15 AM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: Soft-Coding report titles & column titles

If you need to soft code the column headings, then I'd use a table.

File Layout
Report Pgm/Printer file char(10)
Column # Dec(3,0)
Text Char(30)




On Fri, Aug 23, 2013 at 2:26 AM, Booth Martin <booth@xxxxxxxxxxxx>
wrote:

My memory is that making the second and subsequent message files was
where I most often confused myself. Keeping them synched sounds
simple
but I was able to confuse myself with some regularity.


On 8/22/2013 11:44 PM, Roger Harman wrote:
Message files are what I was planning to use - at least for report
headings.
I've used them in the past for other things and, years ago, even
replicated
the concept to PC DOS apps I was building - used them for screen
prompts
and
reports.

Column titles is where I'm having a problem wrapping my mind around
it.

BUT.... (light bulb moment!).... Maybe just one big string for the
full
width of column titles. I was stuck on individuals but just
retrieving
line
1,2,3 as needed is probably very doable.




--
Booth Martin
www.martinvt.com
(802)461-5349
Skype: booth.martin

Please don't ask me what the score is. I'm not even sure what the game
is. -- Ashleigh Brilliant
--
This is the RPG programming on the IBM i (AS/400 and 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 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.