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



Buzz,
Try this:

D Indicator_DS DS Based(Indicator_Ptr)
D Indicator_3032 3A overlay(indicator_ds : 30)

D Indicator_Ptr * Inz(%Addr(*In)

/Free
Indicator_3032 = '010';

...

Use your own name for the indicator field.



On Tue, Jan 15, 2013 at 3:39 PM, Buzz Fenner <bfenner@xxxxxxxxxxxxxxxx>wrote:

On Tue, 15 Jan 2013 10:24:36, Stuart Rowe wrote:

Luis, while syntactically valid, that code would not set on any
indicators. You'd need to base that IndArray on the actual indicator
array's address.

This alternative would work:

%subarr( *IN: 30: 3) = *on;

Stu

This is the sort of thing I was looking for. Just couldn't imagine how to
map the program indicators to the BIF. Appreciate the discussion from you,
Luis, et. al.

However, in the code I'm dealing with, it needs to be function in this
manner:

%subarr(*in:30:3) = '010';

Which the compiler -still- does not like (I apologize for the previous
overly-simplistic example). Unfortunately, when trying to navigate to Jon's
article, Chrome crashes with a Reader Subscription error!!!

BTW, let's say that such use of indicator(s) processing is mainly to - keep
the peace!

"Small steps, Elle. Small steps." Contact

Buzz



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

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.