Attempting to write a referent to a stream which does not allow referents.

#6060   Run-time catchable error

Attempting to write a referent to a stream which does not allow referents.

Additional Information

For stream 'X'.

Explanation

Referents can only be written to the streams opened with the referents-allowed or referents-displayed modifier.