Resolution:
Close any files which might be open, execute a STOP RUN statement and then edit your program to avoid such illegal operations.