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



Maybe time to introduce them to a new method. :)

Brian May
IBM i Modernization Specialist
Profound Logic Software
http://www.profoundlogic.com
937-439-7925 Phone
877-224-7768 Toll Free



The IBM i Modernization Experts
www.profoundlogic.com
             


-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Mark Murphy/STAR BASE Consulting Inc.
Sent: Wednesday, February 11, 2015 9:39 AM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: RE: Kx Indicators disabled on Qualified Workstation Files

Here they use basing pointers to lay a data structure of meaningful names over the top of *IN, and *INKA. Seems to work, when the file is not qualified that is.

Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx


-----Brian May <bmay@xxxxxxxxxxxxxxxxx> wrote: -----
To: "RPG programming on the IBM i (AS/400 and iSeries)" <rpg400-l@xxxxxxxxxxxx>
From: Brian May <bmay@xxxxxxxxxxxxxxxxx>
Date: 02/11/2015 10:05AM
Subject: RE: Kx Indicators disabled on Qualified Workstation Files

I was not aware of this quirk, but I am not surprised.

A better solution may be to use an INDDS to handle your indicators for the file. I have not used K indicators for many years.

Using an INDDS (Indicator Data Structure) will give the display file its own set of 99 indicators that will not interfere with any other indicators. It will also allow you to give the indicators meaningful names instead of numbers.

I cover this in one of my articles on iprodeveloper http://iprodeveloper.com/rpg-programming/data-structures-modern-rpg-data-structures-refresher


Brian May
IBM i Modernization Specialist
Profound Logic Software
http://www.profoundlogic.com
937-439-7925 Phone
877-224-7768 Toll Free



The IBM i Modernization Experts
www.profoundlogic.com



-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Mark Murphy/STAR BASE Consulting Inc.
Sent: Wednesday, February 11, 2015 8:49 AM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Kx Indicators disabled on Qualified Workstation Files

I don't generally use K indicators, but the client I am at right now does. I try to maintain coding style, and they are using the K indicators to provide an additional 24 indicators to communicate with display files. In addition, some of the indicators in the 01 - 24 range are used for other things. It took me quite a while to figgure out why the K indicators stopped working in a program that has been around for a long time. I even went so far as to retrofit it to use numeric indicators for command keys since I couldn't see what was breaking the K indicfators. The manuals were no help either. There is no mention of anything that would cause the K indicators to stop functioning. After messing with a very stripped down example in which these indicators operated properly, I added keywords to the display file until there was nothing left to try, then added QUALIFIED to the workstation file in the RPG program. Bingo. Even after re-reading the descriptioin of Qualified in the manua
l, I see nothing other than the buffer is not used for Qualified files so you have to read and write using data structures. However, if that is meant to cover indicators as well, why doesn't it apply to the numeric and K indicators equally? Does anyone else see this as a bug?

Qualified on a Workstation file declaration disables the K indicators.

Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx
--
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.

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