Closes a data pipe.
Syntax varies with the programming language.
Closing an input pipe:
MOVE 'INPUT' TO SPMODE. CALL 'CLOSPIPE' USING SPAREA.
Closing an output pipe:
MOVE 'OUTPUT' TO SPMODE. CALL 'CLOSPIPE' USING SPAREA.
The CLOSPIPE command uses the value from the SPAREA field SPMODE (see “SPMODE”), which specifies whether the data pipe is opened for input or output.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |