OUTPUT-TO cannot be used to change the destination of a MARKUP SOURCE or STRING SOURCE function.
          #6123   Run-time catchable error
          OUTPUT-TO cannot be used to change the destination of a MARKUP SOURCE or STRING SOURCE function.
Additional Information
 For stream 'X'.
Explanation
 This error is emitted when an output-to executed in a string source function would change the original destination of the function.