xml.StaxWriter.writeToPipe

Sets the output stream of the StaxWriter object to a PIPE, and starts the streaming.

Syntax

writeToPipe(
   name STRING )
  1. name defines the command to start the PIPE that will get the resulting XML document.

Usage

This method sets the output stream of the StaxWriter object to a PIPE command specified in name, and starts the streaming.

In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).