Trying to REOPEN stream WITH REFERENTS-ALLOWED, but stream does not currently have REFERENTS-ALLOWED.

#6068   Run-time catchable error

Trying to REOPEN stream WITH REFERENTS-ALLOWED, but stream does not currently have REFERENTS-ALLOWED.

Additional Information

For stream X

Explanation

A stream which does not currently have referents-allowed cannot be reopen with the referents-allowed modifier.