json.JSONWriter.writeToPipe
Sets the output stream of the JSONWriter object to a PIPE, and starts the streaming.
Syntax
writeToPipe(
cmd STRING )
- cmd defines the command to start the PIPE that will get the resulting JSON document.
Usage
This method sets the output stream of the JSONWriter
object to a PIPE command
specified in cmd, 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).