COBRT042 Attempt to write on broken pipe (Recoverable)

One of the following has occurred:

Resolution:

You can trap the error status returned by the write operation, then open the file again.