A disallowed stream operation was attempted.

#6146   Run-time catchable error

A disallowed stream operation was attempted.

Additional Information

An internal STRING SINK function cannot be used within the attachment for the 'OPEN' action.

Explanation

The program has tried to open a stream as a string sink coroutine. This is not allowed. Use using output as instead.