CLOSPIPE

Description

Closes a pipe.

Syntax

Syntax varies with the programming language.

Parameters

The CLOSPIPE command uses the value from the SPAREA field SPMODE

(see page “SPMODE”) that specifies whether the data pipe is opened for input.

Examples

COBOL II

MOVE 'INPUT' TO SPMODE.
 CALL 'OPENPIPE' USING SPAREA.
 ...
 CALL 'CLOSPIPE' USING SPAREA.

Usage