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



You are still limited to 99 _but_ when you use INDDS the 99 from the display file can be separate from the 99 for printfile1 which can be separate from printfile2 which can be ...

Although personally I think if you need more than 99 there is probably a better way to do things <grin>


Jon P.


On Aug 16, 2022, at 1:41 PM, Alan Shore via RPG400-L <rpg400-l@xxxxxxxxxxxxxxxxxx> wrote:

Hi Gad
I just want to make sure that I understand something that you wrote in your e-mail
Namely:- "one can map names to each indicators and use named indicators"

My understanding is that you are still limited as to the number of named indicators as these named indicators still represent in01 through in99
Or am I wrong?
If I am wrong - can someone please point me to something that shows this in use?




Alan Shore
Solutions Architect
IT Supply Chain Execution

[cid:image001.png@01D8B175.E84D9C40]

60 Orville Drive
Bohemia, NY 11716
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
E-mail : ASHORE@xxxxxxxxxxxxxxxxxxxx

'If you're going through hell, keep going.'
Winston Churchill

From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Gad Miron
Sent: Tuesday, August 16, 2022 1:33 PM
To: rpg400-l@xxxxxxxxxxxxxxxxxx
Subject: [EXTERNAL] 20 years ago

Speaking of DSPFs

Some 20 years ago (st. Peppers) I had the notion to ask IBM to let us use
Field attributes indicators in DSPFs in a more straight forward (and self
explanatory) way.
This by adding all 7 attributes of each field ( HI RI CS BL ND UL PC) to
the INDRADA area

Then we could write in the RPG program like this:
FIELD1.PC = *ON (Set on Position cursor for FIELD1)
FIELD2.RI = *ON (light up Reverse Image for FIELD2)
you get the point...

This method will also help with the limited number of indicators.

But, as I have been coding less and less during that time I kind of
dropped it.

BTH, I know that one can map names to each indicators and use named
indicators
But if IBM were to add a built-in support for this feature it would have
standardize all
reference to these field attribute and not leave it to the (lazy , like me)
programmer.

Just a flash-back

Gad
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l<https://lists.midrange.com/mailman/listinfo/rpg400-l>
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l<https://archive.midrange.com/rpg400-l>.

Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:support@xxxxxxxxxxxxxxxxxxxx> for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com<https://amazon.midrange.com>
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com


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.