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



Try defining the indicators on a named data structure based on a pointer to *IN.
Then define a field that overlays the indicator structure for 4 bytes starting 
at pos 20.
Then just CLEAR the field.  Indicators will be reset.
 
ex:
Indicator_ds      DS                Based(Ind_Ptr)
  Ind20_23                      4A   Overlay(Indicator_Ds : 20)
 
Ind_Ptr             S             *    Inz(%Addr(*In)
 
/Free
 .
.
.
Clear Ind20_23;
    or
 Ind20_23 = *Zero;
 
/End-Free


PHarte@xxxxxxxxxx wrote:
Is there a function in Free Format RPG that allows me to turn off more 
than one indicator in a single statement similar to the 
c movea '0000' *in(20)

Does anybody know which is the better of the Free Format RPG books to 
purchase?


Thanks,
Pat.

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.