Hello Justin,
just for info, in DB2, you can use the function
BITANDNOT
in order to flip a bit according to your needs.
You were saying in the wiki:
In this example, simply subtract 4 from the value returned on your system, and update the field in the database accordingly
if you write that:
$ db2 "update arssys set sys_mask=bitandnot(sys_mask, 4)"
and if the bit 3 is set, then it will be cleared, and if it was cleared, then it stays cleared!
Kind regards,
Alex