Addendum:

See also the CLRBTS (Clear Bit in String) and SETBTS (Set Bit in String) MI built-in functions.

Mark

> On 1/12/2011 5:09 PM, Mark S. Waterbury wrote:
ILE COBOL could use one of the following techniques to perform bit
manipulation:

1. use the MI built-in functions for the MI instructions ANDSTR,
ORSTR, XORSTR,to set or reset bits and TSTBTS to test bits.
or
2. write a small *SRVPGM in ILE C and use C/400's bit manipulation
capabilities,
and export procedures to perform the needed bit manipulation
functions, and use those procedures from ILE COBOL.

Does that help?

Mark S. Waterbury

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