×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




OK, I see what you mean. I get the same result (V6R1):

When I put the substring in a 1A field %bitand results in x'00010000'.

When I put the field in a datastructure and overlay it with a 3U 0 field,
it still goes wrong when I do the %bitand on the character field, but
%bitand on the integer correctly gives x'00000000'.

Looks like a bug to me.

Joep Beckeringh

rpg400-l-bounces@xxxxxxxxxxxx wrote on 22-06-2009 14:55:34:

Michael Ryan

Argh....I said that wrong. I'm comparing the result of the %BitAnd
(which I
would think would be x'00000000') to x'10000000', so I would expect that
comparison to be false, and follow the 'no' path. But it doesn't...it
follows the 'yes' path.

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