Simply switching off optimization made the negative indexes go away, allowing more than 2 GiB to be addressed in standard z/Arch, with "-m31".
Prove it on real hardware, not hercules. Hercules doesnt count.
Real mainframe hardware is not easily accessible. Hercules is the most convenient way people have of accessing a mainframe. Do you have any reason to suggest that Hercules doesn't emulate real hardware in this respect? BFN. Paul.