The compiler would have rejected that, if I remember correctly. I'm not in the field of cobol myself, I learned it briefly in college ages ago.
The compiler did normally warn for data bounds checking, so I figured it would in this case. If that's not the case anymore then I'm wrong.