NullReference exception.

I have the fields 01  prefix-error-status      pic 9.  and the statement  move ls-status-ok to ls-error-status. This code gives me a NullReference exception
unhandled.                     78  prefix-status-OK     value 0.

What is going on here? It happens in the run of the code; program compiles fine with no errors!